Loading src/com/android/server/telecom/PhoneStateBroadcaster.java +3 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading src/com/android/server/telecom/TelecomServiceImpl.java +3 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
src/com/android/server/telecom/PhoneStateBroadcaster.java +3 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading
src/com/android/server/telecom/TelecomServiceImpl.java +3 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading