Merge "Add SafetyNet logging for package names read from config." into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b8bbc3752c
@@ -21260,6 +21260,11 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
long token = Binder.clearCallingIdentity();
|
long token = Binder.clearCallingIdentity();
|
||||||
try {
|
try {
|
||||||
if (getPackageInfo(packageName, MATCH_FACTORY_ONLY, UserHandle.USER_SYSTEM) == null) {
|
if (getPackageInfo(packageName, MATCH_FACTORY_ONLY, UserHandle.USER_SYSTEM) == null) {
|
||||||
|
PackageInfo packageInfo = getPackageInfo(packageName, 0, UserHandle.USER_SYSTEM);
|
||||||
|
if (packageInfo != null) {
|
||||||
|
EventLog.writeEvent(0x534e4554, "145981139", packageInfo.applicationInfo.uid,
|
||||||
|
"");
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user