Loading quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +10 −1 Original line number Original line Diff line number Diff line Loading @@ -258,6 +258,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer private boolean mCanShowAllAppsEducationView; private boolean mCanShowAllAppsEducationView; private boolean mIsOverlayVisible; public static QuickstepLauncher getLauncher(Context context) { public static QuickstepLauncher getLauncher(Context context) { return fromContext(context); return fromContext(context); } } Loading Loading @@ -495,7 +497,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer (getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0; (getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0; boolean visible = (state == NORMAL || state == OVERVIEW) boolean visible = (state == NORMAL || state == OVERVIEW) && (willUserBeActive || isUserActive()) && (willUserBeActive || isUserActive()) && !profile.isVerticalBarLayout(); && !profile.isVerticalBarLayout() && !mIsOverlayVisible; SystemUiProxy.INSTANCE.get(this) SystemUiProxy.INSTANCE.get(this) .setLauncherKeepClearAreaHeight(visible, profile.hotseatBarSizePx); .setLauncherKeepClearAreaHeight(visible, profile.hotseatBarSizePx); } } Loading @@ -504,6 +507,12 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer } } } } @Override public void onOverlayVisibilityChanged(boolean visible) { super.onOverlayVisibilityChanged(visible); mIsOverlayVisible = visible; } @Override @Override public void bindExtraContainerItems(FixedContainerItems item) { public void bindExtraContainerItems(FixedContainerItems item) { if (item.containerId == Favorites.CONTAINER_PREDICTION) { if (item.containerId == Favorites.CONTAINER_PREDICTION) { Loading Loading
quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +10 −1 Original line number Original line Diff line number Diff line Loading @@ -258,6 +258,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer private boolean mCanShowAllAppsEducationView; private boolean mCanShowAllAppsEducationView; private boolean mIsOverlayVisible; public static QuickstepLauncher getLauncher(Context context) { public static QuickstepLauncher getLauncher(Context context) { return fromContext(context); return fromContext(context); } } Loading Loading @@ -495,7 +497,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer (getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0; (getActivityFlags() & ACTIVITY_STATE_USER_WILL_BE_ACTIVE) != 0; boolean visible = (state == NORMAL || state == OVERVIEW) boolean visible = (state == NORMAL || state == OVERVIEW) && (willUserBeActive || isUserActive()) && (willUserBeActive || isUserActive()) && !profile.isVerticalBarLayout(); && !profile.isVerticalBarLayout() && !mIsOverlayVisible; SystemUiProxy.INSTANCE.get(this) SystemUiProxy.INSTANCE.get(this) .setLauncherKeepClearAreaHeight(visible, profile.hotseatBarSizePx); .setLauncherKeepClearAreaHeight(visible, profile.hotseatBarSizePx); } } Loading @@ -504,6 +507,12 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer } } } } @Override public void onOverlayVisibilityChanged(boolean visible) { super.onOverlayVisibilityChanged(visible); mIsOverlayVisible = visible; } @Override @Override public void bindExtraContainerItems(FixedContainerItems item) { public void bindExtraContainerItems(FixedContainerItems item) { if (item.containerId == Favorites.CONTAINER_PREDICTION) { if (item.containerId == Favorites.CONTAINER_PREDICTION) { Loading