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

Commit 205cb3a9 authored by Sergey Volnov's avatar Sergey Volnov Committed by Android (Google) Code Review
Browse files

Merge "Revert "Check calling package before checking permission protection"" into sc-dev

parents 90c0d195 a4571fab
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -948,7 +948,6 @@ 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())) {