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

Commit 46fddbb1 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Annotate TelecomManager.handleMmi with TELEPHONY_CALLING requirement

Bug: 353979854
Test: atest CtsTelecomTestCases:android.telecom.cts.DefaultDialerOperationsTest
Flag: EXEMPT annotation change only
Change-Id: I85ecbabf53400fdf2187bc1a1d5551bef76315b4
parent eff91c9f
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) {