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

Commit a5476186 authored by Hongwei Wang's avatar Hongwei Wang Committed by Automerger Merge Worker
Browse files

Merge "Youtube application when moving to PIP animation was very bad" am: b3c07091 am: 692dca60

parents 8c60f910 692dca60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1717,7 +1717,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
                : null;
    }

    private void clearLastParentBeforePip() {
    void clearLastParentBeforePip() {
        if (mLastParentBeforePip != null) {
            mLastParentBeforePip.mChildPipActivity = null;
            mLastParentBeforePip = null;
+3 −0
Original line number Diff line number Diff line
@@ -2604,6 +2604,9 @@ class Task extends TaskFragment {

        EventLogTags.writeWmTaskRemoved(mTaskId, reason);
        clearPinnedTaskIfNeed();
        if (mChildPipActivity != null) {
            mChildPipActivity.clearLastParentBeforePip();
        }
        // If applicable let the TaskOrganizer know the Task is vanishing.
        setTaskOrganizer(null);