no need to spell out android.view.View
This commit is contained in:
parent
ee6e5ed5d0
commit
73c39fc3d0
|
@ -179,9 +179,9 @@ public class PlayerWidgetJobService extends SafeJobIntentService {
|
|||
int minWidth = options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH);
|
||||
int columns = getCellsForSize(minWidth);
|
||||
if (columns < 3) {
|
||||
views.setViewVisibility(R.id.layout_center, android.view.View.INVISIBLE);
|
||||
views.setViewVisibility(R.id.layout_center, View.INVISIBLE);
|
||||
} else {
|
||||
views.setViewVisibility(R.id.layout_center, android.view.View.VISIBLE);
|
||||
views.setViewVisibility(R.id.layout_center, View.VISIBLE);
|
||||
}
|
||||
manager.updateAppWidget(id, views);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue