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

Commit db25628c authored by Shuo Qian's avatar Shuo Qian
Browse files

Check callingpackage to be consistent with callingUid

Test: manual
Bug: 194105812
Change-Id: I9c7be499d771eba83941630820ed5d43c796bb6a
parent 90c0d195
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -852,6 +852,7 @@ public class TelecomServiceImpl {
        public boolean hasManageOngoingCallsPermission(String callingPackage) {
            try {
                Log.startSession("TSI.hMOCP");
                enforceCallingPackage(callingPackage);
                return PermissionChecker.checkPermissionForDataDeliveryFromDataSource(
                        mContext, Manifest.permission.MANAGE_ONGOING_CALLS,
                        Binder.getCallingPid(),