Merge "Fixing static shared lib on external storage error msg"

This commit is contained in:
Patrick Baumann
2023-01-12 20:57:07 +00:00
committed by Android (Google) Code Review

View File

@@ -1146,7 +1146,7 @@ final class InstallPackageHelper {
if (onExternal) {
Slog.i(TAG, "Static shared libs can only be installed on internal storage.");
throw new PrepareFailure(INSTALL_FAILED_INVALID_INSTALL_LOCATION,
"Packages declaring static-shared libs cannot be updated");
"Static shared libs can only be installed on internal storage.");
}
}