Files
frameworks_base/core/java/android/widget
Arthur Hung 032e267622 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
2022-12-27 02:36:55 +00:00
..
2022-09-08 13:41:42 +09:00
2022-11-02 20:36:35 +00:00
2022-09-22 16:12:23 +09:00
2022-07-19 13:52:13 -07:00