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

Commit 080f4ee9 authored by Issei Suzuki's avatar Issei Suzuki Committed by Automerger Merge Worker
Browse files

Merge "Remove stopped activity from UnknownAppVisibilityController." into...

Merge "Remove stopped activity from UnknownAppVisibilityController." into sc-dev am: 33dfa744 am: 1a90690a am: a04e5793

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15114538

Change-Id: If9372dd3bbeba5f12028a5ed493038a4a1887b48
parents 9ec7c0fa a04e5793
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -5139,6 +5139,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        mAppStopped = true;
        mAppStopped = true;
        // Reset the last saved PiP snap fraction on app stop.
        // Reset the last saved PiP snap fraction on app stop.
        mDisplayContent.mPinnedTaskController.onActivityHidden(mActivityComponent);
        mDisplayContent.mPinnedTaskController.onActivityHidden(mActivityComponent);
        mDisplayContent.mUnknownAppVisibilityController.appRemovedOrHidden(this);
        destroySurfaces();
        destroySurfaces();
        // Remove any starting window that was added for this app if they are still around.
        // Remove any starting window that was added for this app if they are still around.
        removeStartingWindow();
        removeStartingWindow();