Loading services/core/java/com/android/server/TelephonyRegistry.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading Loading
services/core/java/com/android/server/TelephonyRegistry.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading