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

Commit 701ffe5c authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Skip notifying change without visibility change" into udc-dev am: ecfc7bd0

parents 0c74da78 ecfc7bd0
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;
        }