diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-11-07 12:23:58 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-11-07 12:24:47 -0800 |
commit | c4fa8c312b98401f456a44067f87eff511162e2a (patch) | |
tree | b9d911b669d4cde7c9d9242476321deae030a805 /src/com/android/launcher3/LauncherState.java | |
parent | 16764588c9af2fe6222f76912567cf66b5a11d8a (diff) | |
download | android_packages_apps_Trebuchet-c4fa8c312b98401f456a44067f87eff511162e2a.tar.gz android_packages_apps_Trebuchet-c4fa8c312b98401f456a44067f87eff511162e2a.tar.bz2 android_packages_apps_Trebuchet-c4fa8c312b98401f456a44067f87eff511162e2a.zip |
Changing the state UI logic for normal build and quickStep build
> Creating ShareHandlers for managing UI
> In normal build, hotseat is hidden in overview, while in QuickStepBuild, it is visible
Change-Id: I5f8d35c75b861d912d93fce186b5dd74106184c3
Diffstat (limited to 'src/com/android/launcher3/LauncherState.java')
-rw-r--r-- | src/com/android/launcher3/LauncherState.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/launcher3/LauncherState.java b/src/com/android/launcher3/LauncherState.java index bb09a9f86..d6cd8a35c 100644 --- a/src/com/android/launcher3/LauncherState.java +++ b/src/com/android/launcher3/LauncherState.java @@ -36,9 +36,8 @@ public class LauncherState { protected static final int FLAG_SHOW_SCRIM = 1 << 0; protected static final int FLAG_MULTI_PAGE = 1 << 1; - protected static final int FLAG_HIDE_HOTSEAT = 1 << 2; - protected static final int FLAG_DISABLE_ACCESSIBILITY = 1 << 3; - protected static final int FLAG_DO_NOT_RESTORE = 1 << 4; + protected static final int FLAG_DISABLE_ACCESSIBILITY = 1 << 2; + protected static final int FLAG_DO_NOT_RESTORE = 1 << 3; private static final LauncherState[] sAllStates = new LauncherState[4]; @@ -80,7 +79,6 @@ public class LauncherState { * @see WorkspaceStateTransitionAnimation */ public final boolean hasScrim; - public final boolean hideHotseat; public final int transitionDuration; /** @@ -97,7 +95,6 @@ public class LauncherState { this.hasScrim = (flags & FLAG_SHOW_SCRIM) != 0; this.hasMultipleVisiblePages = (flags & FLAG_MULTI_PAGE) != 0; - this.hideHotseat = (flags & FLAG_HIDE_HOTSEAT) != 0; this.workspaceAccessibilityFlag = (flags & FLAG_DISABLE_ACCESSIBILITY) != 0 ? IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS : IMPORTANT_FOR_ACCESSIBILITY_AUTO; |