Loading core/java/android/app/Activity.java +10 −0 Original line number Diff line number Diff line Loading @@ -944,6 +944,10 @@ public class Activity extends ContextThemeWrapper /** @hide */ boolean mEnterAnimationComplete; /** Track last dispatched multi-window and PiP mode to client, internal debug purpose **/ private Boolean mLastDispatchedIsInMultiWindowMode; private Boolean mLastDispatchedIsInPictureInPictureMode; private static native String getDlWarning(); /** Return the intent that started this activity. */ Loading Loading @@ -6999,6 +7003,10 @@ public class Activity extends ContextThemeWrapper writer.print(mResumed); writer.print(" mStopped="); writer.print(mStopped); writer.print(" mFinished="); writer.println(mFinished); writer.print(innerPrefix); writer.print("mLastDispatchedIsInMultiWindowMode="); writer.print(mLastDispatchedIsInMultiWindowMode); writer.print(" mLastDispatchedIsInPictureInPictureMode="); writer.println(mLastDispatchedIsInPictureInPictureMode); writer.print(innerPrefix); writer.print("mChangingConfigurations="); writer.println(mChangingConfigurations); writer.print(innerPrefix); writer.print("mCurrentConfig="); Loading Loading @@ -8078,6 +8086,7 @@ public class Activity extends ContextThemeWrapper if (mWindow != null) { mWindow.onMultiWindowModeChanged(); } mLastDispatchedIsInMultiWindowMode = isInMultiWindowMode; onMultiWindowModeChanged(isInMultiWindowMode, newConfig); } Loading @@ -8090,6 +8099,7 @@ public class Activity extends ContextThemeWrapper if (mWindow != null) { mWindow.onPictureInPictureModeChanged(isInPictureInPictureMode); } mLastDispatchedIsInPictureInPictureMode = isInPictureInPictureMode; onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig); } Loading services/core/java/com/android/server/wm/TaskStack.java +5 −0 Original line number Diff line number Diff line Loading @@ -1747,6 +1747,11 @@ public class TaskStack extends WindowContainer<Task> implements if (toBounds.width() == fromBounds.width() && toBounds.height() == fromBounds.height()) { intendedAnimationType = BoundsAnimationController.BOUNDS; } else if (!fromFullscreen && !toBounds.equals(fromBounds)) { // intendedAnimationType may have been reset at the end of RecentsAnimation, // force it to BOUNDS type if we know for certain we're animating to // a different bounds, especially for expand and collapse of PiP window. intendedAnimationType = BoundsAnimationController.BOUNDS; } } Loading Loading
core/java/android/app/Activity.java +10 −0 Original line number Diff line number Diff line Loading @@ -944,6 +944,10 @@ public class Activity extends ContextThemeWrapper /** @hide */ boolean mEnterAnimationComplete; /** Track last dispatched multi-window and PiP mode to client, internal debug purpose **/ private Boolean mLastDispatchedIsInMultiWindowMode; private Boolean mLastDispatchedIsInPictureInPictureMode; private static native String getDlWarning(); /** Return the intent that started this activity. */ Loading Loading @@ -6999,6 +7003,10 @@ public class Activity extends ContextThemeWrapper writer.print(mResumed); writer.print(" mStopped="); writer.print(mStopped); writer.print(" mFinished="); writer.println(mFinished); writer.print(innerPrefix); writer.print("mLastDispatchedIsInMultiWindowMode="); writer.print(mLastDispatchedIsInMultiWindowMode); writer.print(" mLastDispatchedIsInPictureInPictureMode="); writer.println(mLastDispatchedIsInPictureInPictureMode); writer.print(innerPrefix); writer.print("mChangingConfigurations="); writer.println(mChangingConfigurations); writer.print(innerPrefix); writer.print("mCurrentConfig="); Loading Loading @@ -8078,6 +8086,7 @@ public class Activity extends ContextThemeWrapper if (mWindow != null) { mWindow.onMultiWindowModeChanged(); } mLastDispatchedIsInMultiWindowMode = isInMultiWindowMode; onMultiWindowModeChanged(isInMultiWindowMode, newConfig); } Loading @@ -8090,6 +8099,7 @@ public class Activity extends ContextThemeWrapper if (mWindow != null) { mWindow.onPictureInPictureModeChanged(isInPictureInPictureMode); } mLastDispatchedIsInPictureInPictureMode = isInPictureInPictureMode; onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig); } Loading
services/core/java/com/android/server/wm/TaskStack.java +5 −0 Original line number Diff line number Diff line Loading @@ -1747,6 +1747,11 @@ public class TaskStack extends WindowContainer<Task> implements if (toBounds.width() == fromBounds.width() && toBounds.height() == fromBounds.height()) { intendedAnimationType = BoundsAnimationController.BOUNDS; } else if (!fromFullscreen && !toBounds.equals(fromBounds)) { // intendedAnimationType may have been reset at the end of RecentsAnimation, // force it to BOUNDS type if we know for certain we're animating to // a different bounds, especially for expand and collapse of PiP window. intendedAnimationType = BoundsAnimationController.BOUNDS; } } Loading