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

* commit '2777273a2a5c710f26726ada0fe4a8f33da57b52':
  Add method to determine if Launcher is using vertical bars
This commit is contained in:
Adam Cohen
2013-11-14 11:59:26 -08: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();