Merge "Clean up device identifier access logging" into rvc-dev am: 01be396381
Change-Id: Ie61cb31ffee34703f08a63fe85ebc74c6843fdcb
This commit is contained in:
@@ -9184,8 +9184,6 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
|
||||
return true;
|
||||
}
|
||||
|
||||
Log.w(LOG_TAG, String.format("Package %s (uid=%d, pid=%d) cannot access Device IDs",
|
||||
packageName, uid, pid));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -361,7 +361,8 @@ public final class TelephonyPermissions {
|
||||
TelephonyCommonStatsLog.write(TelephonyCommonStatsLog.DEVICE_IDENTIFIER_ACCESS_DENIED,
|
||||
callingPackage, message, /* isPreinstalled= */ false, false);
|
||||
}
|
||||
Log.w(LOG_TAG, "reportAccessDeniedToReadIdentifiers:" + callingPackage + ":" + message);
|
||||
Log.w(LOG_TAG, "reportAccessDeniedToReadIdentifiers:" + callingPackage + ":" + message + ":"
|
||||
+ subId);
|
||||
// if the target SDK is pre-Q then check if the calling package would have previously
|
||||
// had access to device identifiers.
|
||||
if (callingPackageInfo != null && (
|
||||
|
||||
Reference in New Issue
Block a user