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
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user