Merge "Ignore sharedUserId when package already left shared UID" into tm-dev
This commit is contained in:
@@ -3701,8 +3701,9 @@ final class InstallPackageHelper {
|
||||
parsedPackage.getPackageName());
|
||||
|
||||
boolean ignoreSharedUserId = false;
|
||||
if (installedPkgSetting == null) {
|
||||
// We can directly ignore sharedUserSetting for new installs
|
||||
if (installedPkgSetting == null || !installedPkgSetting.hasSharedUser()) {
|
||||
// Directly ignore sharedUserSetting for new installs, or if the app has
|
||||
// already left shared UID
|
||||
ignoreSharedUserId = parsedPackage.isLeavingSharedUid();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user