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

Commit cb20ad6e authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Ensure self-managed apps do not need CALL_PHONE to call" into udc-dev

parents 82aedf95 8058b46a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -140,7 +140,8 @@ public class UserCallIntentProcessor {
            }
        }

        if (!canCallNonEmergency && !TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) {
        if (!isSelfManaged && !canCallNonEmergency &&
                !TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) {
            showErrorDialogForRestrictedOutgoingCall(mContext,
                    R.string.outgoing_call_not_allowed_no_permission);
            Log.w(this, "Rejecting non-emergency phone call because "
+398 −5

File changed.

Preview size limit exceeded, changes collapsed.