Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd7669a4 authored by Ikram Gabiyev's avatar Ikram Gabiyev Committed by Android (Google) Code Review
Browse files

Merge "Disallow userLeaving when split drag drop" into 24D1-dev

parents bad3348b 0f7d92bd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1512,7 +1512,10 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks {
        }

        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;
            }