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

Commit a302ac69 authored by Ta-wei Yen's avatar Ta-wei Yen
Browse files

Rename ACTION_VOICEMAIL_SMS_RECEIVED

Hidden API should not use the android.* namespace.

This CL also make SHOW_VOICEMAIL_NOTIFICATION protected broadcast.

Change-Id: I9e5459632d0e826274fd60a4cfbf73c0ea87d29f
Fixes:35269913
Fixes: 36201216
Test: CtsSignatureTestCases
parent 3ab5c017
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ public class VoicemailContract {
    /** @hide */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_VOICEMAIL_SMS_RECEIVED =
            "android.intent.action.VOICEMAIL_SMS_RECEIVED";
            "com.android.internal.provider.action.VOICEMAIL_SMS_RECEIVED";

    /**
     * Extra in {@link #ACTION_VOICEMAIL_SMS_RECEIVED} indicating the content of the SMS.
+1 −0
Original line number Diff line number Diff line
@@ -444,6 +444,7 @@
    <protected-broadcast android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED" />
    <protected-broadcast android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION" />
    <protected-broadcast android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
    <protected-broadcast android:name="android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION" />

    <protected-broadcast android:name="com.android.bluetooth.btservice.action.ALARM_WAKEUP" />
    <protected-broadcast android:name="com.android.server.action.NETWORK_STATS_POLL" />