Loading services/core/java/com/android/server/wm/ActivityTaskSupervisor.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -1519,7 +1519,10 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { } } try { try { if ((flags & ActivityManager.MOVE_TASK_NO_USER_ACTION) == 0) { // We allow enter PiP for previous front task if not requested otherwise via options. boolean shouldCauseEnterPip = options == null || !options.disallowEnterPictureInPictureWhileLaunching(); if ((flags & ActivityManager.MOVE_TASK_NO_USER_ACTION) == 0 && shouldCauseEnterPip) { mUserLeaving = true; mUserLeaving = true; } } Loading Loading
services/core/java/com/android/server/wm/ActivityTaskSupervisor.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -1519,7 +1519,10 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { } } try { try { if ((flags & ActivityManager.MOVE_TASK_NO_USER_ACTION) == 0) { // We allow enter PiP for previous front task if not requested otherwise via options. boolean shouldCauseEnterPip = options == null || !options.disallowEnterPictureInPictureWhileLaunching(); if ((flags & ActivityManager.MOVE_TASK_NO_USER_ACTION) == 0 && shouldCauseEnterPip) { mUserLeaving = true; mUserLeaving = true; } } Loading