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

Commit 224c1343 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Remove restriction that only one callback with...

...PRIORITY_SYSTEM_NAVIGATION_OBSERVER can be registered.

This CL removes the API restriction that only one back callback with
PRIORITY_SYSTEM_NAVIGATION_OBSERVER can be registered at a time.
Starting with SDK 37, an unrestricted number of observer callbacks can
be registered. All registered observer callbacks will receive back
events when a system back navigation happens.

Bug: 424146227
Test: WindowOnBackInvokedDispatcherTest
Flag: com.android.window.flags.multiple_system_navigation_observer_callbacks
Change-Id: Ibed2eb513e7a3c80cab128f4f884d359a06c01f4
parent ee7cfd43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment