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

Skip to content
Commit 7079f24d authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] feature flag to turn on new MATCH_UNINSTALLED_PACKAGES behavior

This change will cause getPackageInfo to return a non-null result when
it is called with MATCH_UNINSTALLED_PACKAGES on an app archived or
uninstalled with DELETE_KEEP_DATA. Notice that this behavior already
exists for single-user cases, but not for the multi users. This CL makes
it consistent regardless of the number of users on device.

BUG: 298681254
Test: atest
android.content.pm.cts.PackageManagerShellCommandMultiUserTest#testUninstallWithKeepDataMultiUserMatchUninstalled

Change-Id: Ib7ab6a14f182340d875c2dae889ff53bbb485b70
parent 7c140b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment