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

Skip to content
Commit 863e696e authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Use task as reference layer for recents input consumer

So even if there is activity switch inside the task which is animating
by the recents transition, the recents input consumer can always has
the layer above the live-tile task.

Also avoid changing mRecentsDisplayId when restoring parent surface of
navigation bar. Because there can be multiple transitions run at the
same time. If mRecentsDisplayId is set, it will also clear the active
recents record of InputMonitor, but actually the recents transition
hasn't finished yet.

Bug: 319244888
Test: Launch an activity which will launch another activity in
      the same task after 3s. Enter recents (either swipe-up
      or press recents key) before the next activity is started.
      After the next activity is started in the recents overview,
      trigger back event, it should return from recents to the
      current app instead of no response.
Change-Id: Iedf14b0a345293cf7b11523aa9b4e38a1c821754
parent 68101dbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment