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

Commit 1a082bec authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Better error message when no UID allocated."

parents 4dcf7401 f60d8ab3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -887,9 +887,9 @@ final class Settings {
        }
        }
        if (p.appId < 0) {
        if (p.appId < 0) {
            PackageManagerService.reportSettingsProblem(Log.WARN,
            PackageManagerService.reportSettingsProblem(Log.WARN,
                    "Package " + p.name + " could not be assigned a valid uid");
                    "Package " + p.name + " could not be assigned a valid UID");
            throw new PackageManagerException(INSTALL_FAILED_INSUFFICIENT_STORAGE,
            throw new PackageManagerException(INSTALL_FAILED_INSUFFICIENT_STORAGE,
                    "Creating application package " + p.name + " failed");
                    "Package " + p.name + " could not be assigned a valid UID");
        }
        }
    }
    }