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

Commit 40d4a848 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Mark SMS_EMERGENCY_CB_RECEIVED_ACTION @removed.

This intent was never meant for 3rd party apps. It has always
required a system|signature permission to be received.

Bug: 28287631
Change-Id: I0eef4c354bd027456f7964a277216056b1a358b1
parent 8ca2e656
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1029,9 +1029,10 @@ public final class Telephony {
             *
             *
             * <p>If a BroadcastReceiver encounters an error while processing
             * <p>If a BroadcastReceiver encounters an error while processing
             * this intent it should set the result code appropriately.</p>
             * this intent it should set the result code appropriately.</p>

             *
             * <p>Requires {@link android.Manifest.permission#RECEIVE_EMERGENCY_BROADCAST} to
             * <p>Requires {@link android.Manifest.permission#RECEIVE_EMERGENCY_BROADCAST} to
             * receive.</p>
             * receive.</p>
             * @removed
             */
             */
            @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
            @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
            public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION =
            public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION =