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

Commit b56820d3 authored by Alex Buynytskyy's avatar Alex Buynytskyy Committed by Android (Google) Code Review
Browse files

Merge "Don't remove temporary missing package's user data."

parents 20741b43 62b193ca
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -476,16 +476,12 @@ final class AppDataHelper {
            } else if (!ps.getInstalled(userId)) {
                throw new PackageManagerException(
                        "Package " + packageName + " not installed for user " + userId);
            } else if (ps.getPkg() == null) {
                throw new PackageManagerException("Package " + packageName + " is not parsed yet");
            } else {
                if (!shouldHaveAppStorage(ps.getPkg())) {
            } else if (ps.getPkg() != null && !shouldHaveAppStorage(ps.getPkg())) {
                throw new PackageManagerException(
                        "Package " + packageName + " shouldn't have storage");
            }
        }
    }
    }

    @GuardedBy("mPm.mLock")
    private String normalizePackageNameLPr(String packageName) {