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

Commit 2bc3014f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check calling package before checking permission protection" into sc-dev am: 7af6fdf1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/15288710

Change-Id: I98f0234b64a21fd00dcfde96f1547e4bd103a127
parents 7485ab3e 7af6fdf1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -948,6 +948,7 @@ public class TelecomServiceImpl {
        public int getCallStateUsingPackage(String callingPackage, String callingFeatureId) {
            try {
                Log.startSession("TSI.getCallStateUsingPackage");
                enforceCallingPackage(callingPackage);
                if (CompatChanges.isChangeEnabled(
                        TelecomManager.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION, callingPackage,
                        Binder.getCallingUserHandle())) {