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

Commit de186b8c authored by Michael Groover's avatar Michael Groover
Browse files

Revert "Tempoarily allow priv-apps access to device identifiers"

This reverts commit 6e96da29.

Reason for revert: Play and MTP/PTP issues have been resolved,
restoring device identifier access restrictions for priv apps.

Bug: 117781266
Test: cts-tradefed run cts-dev -m CtsTelephony3TestCases
Change-Id: I7ab432cfa92b6da65137608fc9d435d8296ffb84
parent 364d2515
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -407,7 +407,8 @@ public final class TelephonyPermissions {
        // settings to individually disable the new restrictions for privileged, preloaded
        // non-privileged, and non-preinstalled apps.
        if (!isIdentifierCheckDisabled() && (
                (!isPreinstalled && !relax3PDeviceIdentifierCheck)
                (isPrivApp && !relaxPrivDeviceIdentifierCheck)
                        || (!isPreinstalled && !relax3PDeviceIdentifierCheck)
                        || (isPreinstalled && !isPrivApp && !relaxNonPrivDeviceIdentifierCheck))) {
            // The current package should only be reported in StatsLog if it has not previously been
            // reported for the currently invoked device identifier method.