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

Commit 584002d1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Annotate TelecomManager.handleMmi with TELEPHONY_CALLING requirement" into main

parents e2b1ca7b 46fddbb1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2339,6 +2339,7 @@ public class TelecomManager {
     * @return True if the digits were processed as an MMI code, false otherwise.
     */
    @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
    @RequiresFeature(PackageManager.FEATURE_TELEPHONY_CALLING)
    public boolean handleMmi(String dialString) {
        ITelecomService service = getTelecomService();
        if (service != null) {
@@ -2364,6 +2365,7 @@ public class TelecomManager {
     * @return True if the digits were processed as an MMI code, false otherwise.
     */
    @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
    @RequiresFeature(PackageManager.FEATURE_TELEPHONY_CALLING)
    public boolean handleMmi(String dialString, PhoneAccountHandle accountHandle) {
        ITelecomService service = getTelecomService();
        if (service != null) {