diff options
| author | 2025-02-28 12:34:57 -0800 | |
|---|---|---|
| committer | 2025-02-28 12:34:57 -0800 | |
| commit | de06c5fac7c7bd1eccdac37e37e0a7c2ebcaed61 (patch) | |
| tree | 3ec8edbe3e6e17fbe361a1589c98e2ec558e1aef /tests/DynamicCodeLoggerIntegrationTests/src | |
| parent | ea66d64cb5fbb427d5328dffc1ba213ec0d21f54 (diff) | |
Disable duplicate back handling when a BackInvokedCallback is already registered
Whenever Lockscreen or Shade/QS are visible, we register a callback with back action handling to OnBackInvokedDispatcher. Similarly, whenever we receive a KEYCODE_BACK action (such as the TalkBack back swipe gesture), we call the same back action handling logic. This meant that whenever we were on Lockscreen/Shade, we were always handling back actions twice when we received KEYCODE_BACK.
Bug: 381193919
Test: verified with logging that back handling only triggers once over LS/Shade/QS
Flag: EXEMPT bugfix
Change-Id: Ic92bbb82561a20734a9fb92fa12804d37e4766be
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions