Stop dispatching TaskInfo change when focus changes
This effectively revert f677d826f9, as it
won't issue send TaskInfo to WM shell due to this call.
Bug: 174209413
Bug: 180525887
Test: Builds.
Change-Id: Iab7ba76b969d491e4ac213b179147d93096132ea
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user