Merge "Remove redundant sending app visibility" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-09-09 10:12:35 +00:00
committed by Android (Google) Code Review

View File

@@ -6211,11 +6211,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();
}
/**