Skip to content
Snippets Groups Projects
Commit 06521b66 authored by Song Chun Fan's avatar Song Chun Fan Committed by Android (Google) Code Review
Browse files

Merge "Skip setting installedState to false for apps on adoptable storage" into main

parents b53ca9f0 01e938eb
No related branches found
No related tags found
No related merge requests found
......@@ -402,7 +402,7 @@ final class RemovePackageHelper {
mBroadcastHelper.sendPreferredActivityChangedBroadcast(UserHandle.USER_ALL);
}
} else if (!deletedPs.isSystem() && outInfo != null && !outInfo.mIsUpdate
&& outInfo.mRemovedUsers != null) {
&& outInfo.mRemovedUsers != null && !outInfo.mIsExternal) {
// For non-system uninstalls with DELETE_KEEP_DATA, set the installed state to false
// for affected users. This does not apply to app updates where the old apk is replaced
// but the old data remains.
......
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