Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a95976e authored by Michael Groover's avatar Michael Groover Committed by Automerger Merge Worker
Browse files

Merge "Clean up device identifier access logging" into rvc-dev am: 01be3963

Change-Id: I7bc1ebbf13d1aa484923f311de189e3610443bd7
parents 2a2aa927 01be3963
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
    }
+2 −1
Original line number Diff line number Diff line
@@ -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 && (