Loading packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteTransitionCompat.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -246,6 +246,13 @@ public class RemoteTransitionCompat { closingTasks.add(change); closingTasks.add(change); } } } else if (change.getMode() == TRANSIT_CHANGE) { } else if (change.getMode() == TRANSIT_CHANGE) { // Finish recents animation if the display is changed, so the default // transition handler can play the animation such as rotation effect. if (change.hasFlags(TransitionInfo.FLAG_IS_DISPLAY)) { mListener.onSwitchToScreenshot(() -> finish(false /* toHome */, false /* userLeaveHint */)); return false; } hasChangingApp = true; hasChangingApp = true; } } } } Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteTransitionCompat.java +7 −0 Original line number Original line Diff line number Diff line Loading @@ -246,6 +246,13 @@ public class RemoteTransitionCompat { closingTasks.add(change); closingTasks.add(change); } } } else if (change.getMode() == TRANSIT_CHANGE) { } else if (change.getMode() == TRANSIT_CHANGE) { // Finish recents animation if the display is changed, so the default // transition handler can play the animation such as rotation effect. if (change.hasFlags(TransitionInfo.FLAG_IS_DISPLAY)) { mListener.onSwitchToScreenshot(() -> finish(false /* toHome */, false /* userLeaveHint */)); return false; } hasChangingApp = true; hasChangingApp = true; } } } } Loading