Merge "Prevent non-emergency calls for secondary users." into udc-dev am: 9493755de0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telecomm/+/22724788

Change-Id: I464d529654fd6ce8b690d753239e0f7f50fa20c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/src/com/android/server/telecom/components/UserCallIntentProcessor.java b/src/com/android/server/telecom/components/UserCallIntentProcessor.java
index 8e817fe..a4602c1 100755
--- a/src/com/android/server/telecom/components/UserCallIntentProcessor.java
+++ b/src/com/android/server/telecom/components/UserCallIntentProcessor.java
@@ -105,7 +105,7 @@
             handle = Uri.fromParts(PhoneAccount.SCHEME_SIP, uriString, null);
         }
 
-       if(!isSelfManaged && !isLocalInvocation) {
+       if(!isSelfManaged) {
             // Check DISALLOW_OUTGOING_CALLS restriction. Note: We are skipping this
             // check in a managed profile user because this check can always be bypassed
             // by copying and pasting the phone number into the personal dialer.