diff options
| author | 2024-10-03 14:20:51 +0000 | |
|---|---|---|
| committer | 2024-10-04 08:02:55 +0000 | |
| commit | ebaebbd466efc1cd18666d7319b7881d5391095d (patch) | |
| tree | 097305cee1d599422f5264b4096ec5cc775ec3a7 /libs/androidfw/AssetsProvider.cpp | |
| parent | a6556160c2b774e73a1441879f57581a36f5f553 (diff) | |
Add new PRIORITY_SYSTEM_NAVIGATION_OBSERVER to OnBackInvokedDispatcher
Callbacks registered with the new PRIORITY_SYSTEM_NAVIGATION_OBSERVER priority do not consume back events. Instead they receive the onBackInvoked() back event whenever the system handles a back navigation. This is useful for observing system back navigation behavior without affecting it, e.g., for logging or analytics.
Bug: 362938401
Test: WindowOnBackInvokedDispatcherTest
Test: OnBackInvokedCallbackGestureTest
Flag: com.android.window.flags.predictive_back_priority_system_navigation_observer
Change-Id: I9a483670fdfc31a1b487e8d3d4151c0cc2f7154f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions