Merge "Remove activity from unknown app if starting window is relayouted." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cfde5c2b96
@@ -133,7 +133,7 @@ class UnknownAppVisibilityController {
|
||||
Slog.d(TAG, "App relayouted appWindow=" + activity);
|
||||
}
|
||||
int state = mUnknownApps.get(activity);
|
||||
if (state == UNKNOWN_STATE_WAITING_RELAYOUT) {
|
||||
if (state == UNKNOWN_STATE_WAITING_RELAYOUT || activity.mStartingWindow != null) {
|
||||
mUnknownApps.put(activity, UNKNOWN_STATE_WAITING_VISIBILITY_UPDATE);
|
||||
mService.notifyKeyguardFlagsChanged(this::notifyVisibilitiesUpdated,
|
||||
activity.getDisplayContent().getDisplayId());
|
||||
|
||||
Reference in New Issue
Block a user