Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2aae7b84 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Ensure no more callback invocations after onBackCancelled

When unregistering a back callback which is currently in-progress, onBackCancelled is dispatched. After dispatching onBackCancelled, it must be ensured that no more callback invocations to that same callback happen.

Bug: 351777537
Flag: com.android.window.flags.predictive_back_system_anims
Test: atest WindowOnBackInvokedDispatcherTest
Test: Manual, i.e. unregistering a callback during an active back gesture in a test app and verifying that after onBackCancelled no more onBackProgressed or other events are dispatched
Change-Id: I9a0b3a7c19e565070abc550cd02b520c693c443e
parent c4b9427f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment