Merge "Add security net logging for guest uninstall of updates." into tm-dev
This commit is contained in:
@@ -167,6 +167,7 @@ final class DeletePackageHelper {
|
||||
if (userInfo == null || !userInfo.isAdmin()) {
|
||||
Slog.w(TAG, "Not removing package " + packageName
|
||||
+ " as only admin user may downgrade system apps");
|
||||
EventLog.writeEvent(0x534e4554, "170646036", -1, packageName);
|
||||
return PackageManager.DELETE_FAILED_USER_RESTRICTED;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user