am ed1ead7a: am 2777273a: Add method to determine if Launcher is using vertical bars

* commit 'ed1ead7ab5e5eec2cdf244437fbc797e314918da':
  Add method to determine if Launcher is using vertical bars
This commit is contained in:
Adam Cohen
2014-02-14 20:37:46 +00:00
committed by Android Git Automerger
+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();