Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent"

This commit is contained in:
Chen Xu
2019-11-18 19:04:39 +00:00
committed by Gerrit Code Review
4 changed files with 12 additions and 10 deletions

View File

@@ -595,10 +595,6 @@ package android.provider {
field public static final String VOLUME_VOICE = "volume_voice";
}
public static final class Telephony.Sms.Intents {
field public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
}
}
package android.speech.tts {

View File

@@ -6145,6 +6145,10 @@ package android.provider {
field public static final String SLOT_INDEX = "slot_index";
}
public static final class Telephony.Sms.Intents {
field public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED = "android.provider.action.SMS_EMERGENCY_CB_RECEIVED";
}
public final class TimeZoneRulesDataContract {
field public static final String AUTHORITY = "com.android.timezone";
}

View File

@@ -1127,8 +1127,9 @@ public final class Telephony {
* values:</p>
*
* <ul>
* <li><em>"message"</em> - An SmsCbMessage object containing the broadcast message
* data, including ETWS or CMAS warning notification info if present.</li>
* <li><em>"message"</em> - An {@link android.telephony.SmsCbMessage} object
* containing the broadcast message data, including ETWS or CMAS warning notification
* info if present.</li>
* </ul>
*
* <p>The extra values can be extracted using
@@ -1139,11 +1140,12 @@ public final class Telephony {
*
* <p>Requires {@link android.Manifest.permission#RECEIVE_EMERGENCY_BROADCAST} to
* receive.</p>
* @removed
* @hide
*/
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION =
"android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED";
@SystemApi
public static final String ACTION_SMS_EMERGENCY_CB_RECEIVED =
"android.provider.action.SMS_EMERGENCY_CB_RECEIVED";
/**
* Broadcast Action: A new CDMA SMS has been received containing Service Category

View File

@@ -33,7 +33,7 @@ import java.util.Locale;
* All relevant header information is now sent as a Parcelable
* {@link android.telephony.SmsCbMessage} object in the "message" extra of the
* {@link android.provider.Telephony.Sms.Intents#SMS_CB_RECEIVED_ACTION} or
* {@link android.provider.Telephony.Sms.Intents#SMS_EMERGENCY_CB_RECEIVED_ACTION} intent.
* {@link android.provider.Telephony.Sms.Intents#ACTION_SMS_EMERGENCY_CB_RECEIVED} intent.
* The raw PDU is no longer sent to SMS CB applications.
*/
public class SmsCbHeader {