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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.