Merge "Remove stopped activity from UnknownAppVisibilityController." into sc-dev
This commit is contained in:
@@ -5015,6 +5015,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();
|
||||||
|
|||||||
Reference in New Issue
Block a user