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

Commit 951ceccf authored by Narayan Kamath's avatar Narayan Kamath Committed by Jack Yu
Browse files

TelephonyRegistry: Pass featureId to LocationAccessPolicy

Bug: 162850073
Test: manual
Merged-In: I3a5afddfc151e06f5deb0220620bbd40849626c4
Change-Id: I3a5afddfc151e06f5deb0220620bbd40849626c4
(cherry picked from commit 923b6d86)
parent eccbfe4b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2762,6 +2762,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
        LocationAccessPolicy.LocationPermissionQuery.Builder locationQueryBuilder =
                new LocationAccessPolicy.LocationPermissionQuery.Builder()
                        .setCallingPackage(callingPackage)
                        .setCallingFeatureId(callingFeatureId)
                        .setMethod(message + " events: " + events)
                        .setCallingPid(Binder.getCallingPid())
                        .setCallingUid(Binder.getCallingUid());
@@ -2911,6 +2912,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
        LocationAccessPolicy.LocationPermissionQuery query =
                new LocationAccessPolicy.LocationPermissionQuery.Builder()
                        .setCallingPackage(r.callingPackage)
                        .setCallingFeatureId(r.callingFeatureId)
                        .setCallingPid(r.callerPid)
                        .setCallingUid(r.callerUid)
                        .setMethod("TelephonyRegistry push")
@@ -2934,6 +2936,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
        LocationAccessPolicy.LocationPermissionQuery query =
                new LocationAccessPolicy.LocationPermissionQuery.Builder()
                        .setCallingPackage(r.callingPackage)
                        .setCallingFeatureId(r.callingFeatureId)
                        .setCallingPid(r.callerPid)
                        .setCallingUid(r.callerUid)
                        .setMethod("TelephonyRegistry push")