Add method to determine if Launcher is using vertical bars

Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
This commit is contained in:
Adam Cohen
2013-11-11 14:00:56 +00:00
parent 62dacd6797
commit 2777273a2a
+5
View File
@@ -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();