summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-13 22:32:24 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-04-13 22:32:24 +0800
commit55e760275ade295ec9eede257c1c5d6d1efbae8c (patch)
tree6db7e7cfa95d58a958209bbf29ef29fd595e14e1 /libs/androidfw/ObbFile.cpp
parentb4a8a82fa927597775483f8a0391856d7dc1399e (diff)
Ignore tap ouside for transient-hide task
Because with transient launch, launcher is moved to top when animating recents animation. Then before the surface of transient hide task disappears on screen, the tap outside may still be triggered. Which will send another TO_FRONT transition (app=CHANGE, recents=CLOSE). This add the same condition as legacy recents did in onPointerDownOutsideFocusLocked to skip handling the tap. Also let RecentsTransitionHandler cancel the animation and restore the state (hide recents, reorder app to top and show it) if the unexpected TO_FRONT happens (e.g. setFocusedTask on hide task). Bug: 278055698 Test: Launch an activity with a dialog. Swipe-up and tap screen quickly. Home is still visible. Change-Id: I1d22cb7a391d71b0d5cc0fa57cd8303458a4434d
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions