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

Commit 11318e56 authored by Pranav Madapurmath's avatar Pranav Madapurmath Committed by Android (Google) Code Review
Browse files

Merge "Formalize EXTRA_SKIP_CALL_FILTERING as system API" into main

parents 23ab08bb 051ad42c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -787,6 +787,9 @@ public class TelecomServiceImpl {
                        Bundle extras = account.getExtras();
                        if (extras != null
                                && extras.getBoolean(PhoneAccount.EXTRA_SKIP_CALL_FILTERING)) {
                            // System apps should be granted the MODIFY_PHONE_STATE permission.
                            enforceModifyPermission(
                                    "registerPhoneAccount requires MODIFY_PHONE_STATE permission.");
                            enforceRegisterSkipCallFiltering();
                        }
                        final int callingUid = Binder.getCallingUid();