summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-04-27 03:48:02 +0000
committer Matt Casey <mrcasey@google.com> 2022-04-27 03:48:02 +0000
commitf8a97ab1d87617bf20f55d5d1ec8363072c9a886 (patch)
tree733dded617ba87dc756baa7c6703b67cdc3c1f4a /libs/androidfw/ResourceTimer.cpp
parentc15af2cb878df47707c2689a85e58cb457fa4e23 (diff)
Fix "always" option in ResolverActivity
mUnfilteredResolveList was incorrectly being set as null whenever performSecondaryResolveListFilterin didn't end up filtering anything (when its value should have been maintained in this case). This incorrect mUnfilteredResolveList null value causes most of ResolverActivity's onTargetSelected() logic to be skipped, thus it doesn't notify the package manager of the 'always' selection. This should match the behavior before ag/17509713 and fix the bug. Test: Manual testing (install two email apps, click an email addr link, choose a resolver target and press 'always', then do it again and resolver shouldn't appear). Test: atest CtsDynamicMimeHostTestCases:android.dynamicmime.cts.PreferredActivitiesTestCases#testModifyGroupWithoutActualGroupChanges Test: atest ResolverActivityTest Bug: 230149644 Change-Id: Ia23e95359d320a3a63e39f9c50a159879e94bf3b
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions