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

Commit 949685b6 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4767765 from 6b772309 to pi-release

Change-Id: I191d8cece03a1ce5146a259364d87f6f7dadf65e
parents 3fe1ff81 6b772309
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -106,7 +106,9 @@ final class PhoneStateBroadcaster extends CallsManagerListenerBase {
        mCurrentState = phoneState;

        String callHandle = null;
        if (call.getHandle() != null) {
        // Only report phone numbers in phone state broadcast for regular mobile calls; do not
        // include numbers from 3rd party apps.
        if (!call.isSelfManaged() && call.getHandle() != null) {
            callHandle = call.getHandle().getSchemeSpecificPart();
        }

+3 −1
Original line number Diff line number Diff line
@@ -771,7 +771,9 @@ public class TelecomServiceImpl {
            try {
                Log.startSession("TSI.eC");
                synchronized (mLock) {
                    enforceModifyPermission();
                    if (!enforceAnswerCallPermission(callingPackage, Binder.getCallingUid())) {
                        throw new SecurityException("requires ANSWER_PHONE_CALLS permission");
                    }

                    long token = Binder.clearCallingIdentity();
                    try {