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

Commit 79274622 authored by Shuo Qian's avatar Shuo Qian Committed by Android (Google) Code Review
Browse files

Merge "Rename API for Call Companion InCallService API Review" into sc-dev

parents 514c2fd9 2a335458
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -832,12 +832,12 @@ public class TelecomServiceImpl {
        }

        /**
         * @see android.telecom.TelecomManager#hasCompanionInCallServiceAccess
         * @see android.telecom.TelecomManager#hasManageOngoingCallsPermission
         */
        @Override
        public boolean hasCompanionInCallServiceAccess(String callingPackage) {
        public boolean hasManageOngoingCallsPermission(String callingPackage) {
            try {
                Log.startSession("TSI.hCICSA");
                Log.startSession("TSI.hMOCP");
                return PermissionChecker.checkPermissionForPreflight(mContext,
                        Manifest.permission.MANAGE_ONGOING_CALLS,
                                PermissionChecker.PID_UNKNOWN, Binder.getCallingUid(),