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

Commit 7c5f84de authored by Garfield Tan's avatar Garfield Tan
Browse files

Stop dispatching TaskInfo change when focus changes

This effectively revert f677d826, as it
won't issue send TaskInfo to WM shell due to this call.

Bug: 174209413
Bug: 180525887
Test: Builds.
Change-Id: Iab7ba76b969d491e4ac213b179147d93096132ea
parent 8963b30f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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() {