summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkAssets.cpp
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2024-12-03 08:56:59 +0000
committer Johannes Gallmann <gallmann@google.com> 2024-12-03 08:57:45 +0000
commitecad8299d55263c8a13a19529c3d58182557752e (patch)
tree024ee984a67efd2a1b4977a3e74e6356cfbf7d06 /libs/androidfw/ApkAssets.cpp
parentc60efe594e0c2ce6b672516d9538700011fa5c98 (diff)
Fix fragment back navigation in PreferenceActivity with predictive back
When isOnBackInvokedCallbackEnabled=false, popBackStackImmediate() is called in Activity#onBackPressed. When isOnBackInvokedCallbackEnabled=true, we need to call popBackStackImmediate() manually when back is invoked, since onBackPressed is not called anymore. Bug: 381779683 Test: Manual, i.e. verified back navigation in PreferenceActivity cts test app Test: CtsPreferenceTestCases Flag: com.android.window.flags.predictive_back_default_enable_sdk_36 Change-Id: I648362d320acb790802de143114f9c893e745335
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
0 files changed, 0 insertions, 0 deletions