[-1] Fix flicker of -1 when swipe up to exit -1 isn't fast enough
Fix: 381017761 Flag: NONE - released code Test: manual - record a video Change-Id: I5bda4a234cdcc8227d4feb9a92a174d07e46f7a2
This commit is contained in:
1 parent
49319240dd
commit
b8b16bd288
2 files changed
+2
-3
No files matched your search
@@ -292,8 +292,7 @@ public final class LauncherActivityInterface extends
|
||||
return;
|
||||
}
|
||||
LauncherOverlayManager om = launcher.getOverlayManager();
|
||||
if (!SystemUiProxy.INSTANCE.get(launcher).getHomeVisibilityState().isHomeVisible()
|
||||
|| launcher.isForceInvisible()) {
|
||||
if (!SystemUiProxy.INSTANCE.get(launcher).getHomeVisibilityState().isHomeVisible()) {
|
||||
om.hideOverlay(false /* animate */);
|
||||
} else {
|
||||
om.hideOverlay(150);
|
||||
|
||||
@@ -1677,7 +1677,7 @@ public class Launcher extends StatefulActivity<LauncherState>
|
||||
if (FeatureFlags.enableSplitContextually()) {
|
||||
handleSplitAnimationGoingToHome(LAUNCHER_SPLIT_SELECTION_EXIT_HOME);
|
||||
}
|
||||
mOverlayManager.hideOverlay(isStarted() && !isForceInvisible());
|
||||
mOverlayManager.hideOverlay(isStarted());
|
||||
handleGestureContract(intent);
|
||||
} else if (Intent.ACTION_ALL_APPS.equals(intent.getAction())) {
|
||||
showAllAppsFromIntent(alreadyOnHome);
|
||||
|
||||
Reference in new issue
Block a user