Merge "Stop dispatching TaskInfo change when focus changes" into sc-dev

This commit is contained in:
Garfield Tan
2021-02-18 00:15:00 +00:00
committed by Android (Google) Code Review

View File

@@ -5301,7 +5301,8 @@ class Task extends WindowContainer<WindowContainer> {
*/
void onWindowFocusChanged(boolean hasFocus) {
updateShadowsRadius(hasFocus, getSyncTransaction());
dispatchTaskInfoChangedIfNeeded(false /* force */);
// TODO(b/180525887): Un-comment once there is resolution on the bug.
// dispatchTaskInfoChangedIfNeeded(false /* force */);
}
void onPictureInPictureParamsChanged() {