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

Commit 60d7a2c6 authored by Rambo Wang's avatar Rambo Wang Committed by Android (Google) Code Review
Browse files

Merge "Check system and phone UID in multiple-user-aware way" into main

parents 558c8c49 73d120dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2989,7 +2989,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
        // Always redact location info from PhysicalChannelConfig if the registrant is from neither
        // PHONE nor SYSTEM process. There is no user case that the registrant needs the location
        // info (e.g. physicalCellId). This also remove the need for the location permissions check.
        return record.callerUid != Process.PHONE_UID && record.callerUid != Process.SYSTEM_UID;
        return !TelephonyPermissions.isSystemOrPhone(record.callerUid);
    }

    /**