Add method to determine if Launcher is using vertical bars
Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
This commit is contained in:
1 parent
62dacd6797
commit
2777273a2a
1 file changed
+5
@@ -3953,6 +3953,11 @@ public class Launcher extends Activity
|
||||
return bounceAnim;
|
||||
}
|
||||
|
||||
public boolean useVerticalBarLayout() {
|
||||
return LauncherAppState.getInstance().getDynamicGrid().
|
||||
getDeviceProfile().isVerticalBarLayout();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void bindSearchablesChanged() {
|
||||
boolean searchVisible = updateGlobalSearchIcon();
|
||||
|
||||
Reference in new issue
Block a user