Merge "Skip notifying change without visibility change" into udc-dev
This commit is contained in:
@@ -5225,6 +5225,11 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
|
||||
Slog.w(TAG_WM, "Attempted to set visibility of non-existing app token: " + token);
|
||||
return;
|
||||
}
|
||||
if (visible == mVisibleRequested && visible == mVisible
|
||||
&& mTransitionController.isShellTransitionsEnabled()) {
|
||||
// For shell transition, it is no-op if there is no state change.
|
||||
return;
|
||||
}
|
||||
if (visible) {
|
||||
mDeferHidingClient = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user