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

Commit 032e2676 authored by Arthur Hung's avatar Arthur Hung
Browse files

Add enableOnBackInvokedCallaback manifest attribute for activity

Currently, there is already a flag for an application to opt-in of the
new back navigation system.
This will add a new manifest flag for an activity could opt-out/opt-in
of the new behavior.

When the attribute has set, it will add a private flag to ActivityInfo
to identify current activity will opt-in or opt-out the new back
navigation system.

If no attribute set for activity, it will still check the attribute of
application info.

Test: atest BackNavigationControllerTests
Test: atest BackNavigationLegacyGestureTest BackNavigationLegacyTest
Test: atest BackNavigationTests
Test: atest WindowOnBackInvokedDispatcherTest BackNavigationTest
Test: atset BackAnimationControllerTest
Bug: 256536263
Change-Id: Ic126c0d4ce54d146698766154e22a18ccb0042eb
parent b99d5ea6
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