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

Commit 7eb652d4 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove redundant sending app visibility

The super.setClientVisible has the same log and invocation.
This reduces unnecessary IPC to client app.

Bug: 163976519
Test: CtsActivityManagerDeviceTestCases
Change-Id: If1b9d7da167bee3b020c21692b9733f4e50b45b0
parent 08774f2f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6206,11 +6206,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        // TODO(shell-transitions): Remove mDeferHidingClient once everything is shell-transitions.
        //                          pip activities should just remain in clientVisible.
        if (!clientVisible && mDeferHidingClient) return;
        ProtoLog.v(WM_DEBUG_APP_TRANSITIONS,
                "setClientVisible: %s clientVisible=%b Callers=%s", this, clientVisible,
                Debug.getCallers(5));
        super.setClientVisible(clientVisible);
        sendAppVisibilityToClients();
    }

    /**