Loading services/core/java/com/android/server/wm/BackNavigationController.java +8 −5 Original line number Diff line number Diff line Loading @@ -1591,7 +1591,6 @@ class BackNavigationController { private static void setLaunchBehind(@NonNull ActivityRecord activity) { if (!activity.isVisibleRequested()) { activity.setVisibility(true); // The transition could commit the visibility and in the finishing state, that could // skip commitVisibility call in setVisibility cause the activity won't visible here. // Call it again to make sure the activity could be visible while handling the pending Loading Loading @@ -1669,11 +1668,15 @@ class BackNavigationController { ProtoLog.d(WM_DEBUG_BACK_PREVIEW, "onBackNavigationDone backType=%s, " + "triggerBack=%b", backType, triggerBack); synchronized (mWindowManagerService.mGlobalLock) { mNavigationMonitor.stopMonitorForRemote(); mBackAnimationInProgress = false; mShowWallpaper = false; // All animation should be done, clear any un-send animation. mPendingAnimation = null; mPendingAnimationBuilder = null; } } static TaskSnapshot getSnapshot(@NonNull WindowContainer w, ActivityRecord[] visibleOpenActivities) { Loading Loading
services/core/java/com/android/server/wm/BackNavigationController.java +8 −5 Original line number Diff line number Diff line Loading @@ -1591,7 +1591,6 @@ class BackNavigationController { private static void setLaunchBehind(@NonNull ActivityRecord activity) { if (!activity.isVisibleRequested()) { activity.setVisibility(true); // The transition could commit the visibility and in the finishing state, that could // skip commitVisibility call in setVisibility cause the activity won't visible here. // Call it again to make sure the activity could be visible while handling the pending Loading Loading @@ -1669,11 +1668,15 @@ class BackNavigationController { ProtoLog.d(WM_DEBUG_BACK_PREVIEW, "onBackNavigationDone backType=%s, " + "triggerBack=%b", backType, triggerBack); synchronized (mWindowManagerService.mGlobalLock) { mNavigationMonitor.stopMonitorForRemote(); mBackAnimationInProgress = false; mShowWallpaper = false; // All animation should be done, clear any un-send animation. mPendingAnimation = null; mPendingAnimationBuilder = null; } } static TaskSnapshot getSnapshot(@NonNull WindowContainer w, ActivityRecord[] visibleOpenActivities) { Loading