diff options
| author | 2022-07-15 11:37:24 +0000 | |
|---|---|---|
| committer | 2022-07-20 04:26:45 +0000 | |
| commit | 0099ca8fab618dfeefe25cb4c2146b2831900ee5 (patch) | |
| tree | bb89171966c8bb3951da9c2f2831512f16980644 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | e2137ed5b3549be1fe2beb623aba468fdc629f92 (diff) | |
Ignore back invoke when window focus has lost
The back invoke target could lost focus during back navigation.
To prevent the non-focused window could still trigger back action cause
some unexpected behavior, this CL will listen focus changed and skip the
back invoke call.
Test: launch a trampoline activity and trigger back before next activity
shown.
Test: atest WindowOnBackInvokedDispatcherTest
Bug: 238050065
Change-Id: Ifd345b2283c5d07628e2884db6e4e13f3ec31e83
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions