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

Commit ecfc7bd0 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Skip notifying change without visibility change" into udc-dev

parents b65d5dd8 32d03f38
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;
        }