diff options
| author | 2022-07-26 07:36:27 +0000 | |
|---|---|---|
| committer | 2022-07-28 06:42:10 +0000 | |
| commit | e3476afe2a9fbecad7ed3c4955725082612704e8 (patch) | |
| tree | ec82a3ecfcf74746c6e250b2f0b5ffdf0fbb1c06 /libs/androidfw/StringPool.cpp | |
| parent | 8be2f8108625ca6aa35ce58d67cc1222db0709eb (diff) | |
Cancel back invoke when window focus has lost
This reverts commit 0099ca8fab618dfeefe25cb4c2146b2831900ee5 and provide
new mechanism.
The back invoke target could lost focus during back navigation gesture.
To prevent the non-focused window could still trigger back action cause
some unexpected behavior, this CL will listen the focus change of
current focused window and cancel back gesture when its focus has lost.
Bug: 238050065
Bug: 239792909
Test: atest BackNavigationControllerTests
Test: atest BackNavigationLegacyGestureTest BackNavigationLegacyTest
Test: atest BackNavigationTests
Test: atest WindowOnBackInvokedDispatcherTest BackNavigationTest
Test: atset BackAnimationControllerTest
Change-Id: I65eb19371020ce39977eeb2a2a80c7f08600aaec
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions