diff options
| author | 2018-05-10 23:10:08 +0000 | |
|---|---|---|
| committer | 2018-05-10 23:10:08 +0000 | |
| commit | 12ee7a7eec7e308487a8127e671d58e09a084129 (patch) | |
| tree | 87af691b4ac2a5fe52ae6dcc209c0dd09518bd54 | |
| parent | b11cbb9e2ea7ecbc09653fcd943c5e67ed74ea43 (diff) | |
| parent | 8d2e3abb4010199815aad7fea7221af8f02522e5 (diff) | |
Merge "Add documentation for what to use for SS changes"
| -rw-r--r-- | core/java/android/content/Intent.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index c865dd73c06d..760fd8031a4d 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -3552,6 +3552,10 @@ public class Intent implements Parcelable, Cloneable { * <p class="note">This is a protected intent that can only be sent by the system. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable} and the helper + * functions {@code ServiceStateTable.getUriForSubscriptionIdAndField} and + * {@code ServiceStateTable.getUriForSubscriptionId} to subscribe to changes to the ServiceState + * for a given subscription id and field with a ContentObserver or using JobScheduler. */ @Deprecated @SystemApi @@ -3567,6 +3571,7 @@ public class Intent implements Parcelable, Cloneable { * @see android.telephony.ServiceState#STATE_POWER_OFF * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_REG_STATE}. */ @Deprecated @SystemApi @@ -3580,6 +3585,7 @@ public class Intent implements Parcelable, Cloneable { * @see android.telephony.ServiceState#STATE_POWER_OFF * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_REG_STATE}. */ @Deprecated @SystemApi @@ -3590,6 +3596,7 @@ public class Intent implements Parcelable, Cloneable { * type. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_ROAMING_TYPE}. */ @Deprecated @SystemApi @@ -3600,6 +3607,7 @@ public class Intent implements Parcelable, Cloneable { * type. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_ROAMING_TYPE}. */ @Deprecated @SystemApi @@ -3611,6 +3619,8 @@ public class Intent implements Parcelable, Cloneable { * {@code null} if the operator name is not known or unregistered. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_LONG}. */ @Deprecated @SystemApi @@ -3622,6 +3632,8 @@ public class Intent implements Parcelable, Cloneable { * {@code null} if the operator name is not known or unregistered. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_SHORT}. */ @Deprecated @SystemApi @@ -3633,6 +3645,7 @@ public class Intent implements Parcelable, Cloneable { * network. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_NUMERIC}. */ @Deprecated @SystemApi @@ -3644,6 +3657,8 @@ public class Intent implements Parcelable, Cloneable { * {@code null} if the operator name is not known or unregistered. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_LONG}. */ @Deprecated @SystemApi @@ -3655,6 +3670,8 @@ public class Intent implements Parcelable, Cloneable { * {@code null} if the operator name is not known or unregistered. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_SHORT}. */ @Deprecated @SystemApi @@ -3666,6 +3683,7 @@ public class Intent implements Parcelable, Cloneable { * data operator. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_NUMERIC}. */ @Deprecated @SystemApi @@ -3677,6 +3695,8 @@ public class Intent implements Parcelable, Cloneable { * Will be {@code true} if manual mode, {@code false} if automatic mode. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#IS_MANUAL_NETWORK_SELECTION}. */ @Deprecated @SystemApi @@ -3687,6 +3707,8 @@ public class Intent implements Parcelable, Cloneable { * radio technology. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#RIL_VOICE_RADIO_TECHNOLOGY}. */ @Deprecated @SystemApi @@ -3697,6 +3719,8 @@ public class Intent implements Parcelable, Cloneable { * radio technology. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#RIL_DATA_RADIO_TECHNOLOGY}. */ @Deprecated @SystemApi @@ -3708,6 +3732,7 @@ public class Intent implements Parcelable, Cloneable { * Will be {@code true} if support, {@code false} otherwise. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#CSS_INDICATOR}. */ @Deprecated @SystemApi @@ -3718,6 +3743,7 @@ public class Intent implements Parcelable, Cloneable { * id. {@code Integer.MAX_VALUE} if unknown. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#NETWORK_ID}. */ @Deprecated @SystemApi @@ -3728,6 +3754,7 @@ public class Intent implements Parcelable, Cloneable { * {@code Integer.MAX_VALUE} if unknown. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#SYSTEM_ID}. */ @Deprecated @SystemApi @@ -3738,6 +3765,7 @@ public class Intent implements Parcelable, Cloneable { * indicator if registered on a CDMA or EVDO system or {@code -1} if not. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#CDMA_ROAMING_INDICATOR}. */ @Deprecated @SystemApi @@ -3748,6 +3776,8 @@ public class Intent implements Parcelable, Cloneable { * indicator from the PRL if registered on a CDMA or EVDO system {@code -1} if not. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#CDMA_DEFAULT_ROAMING_INDICATOR}. */ @Deprecated @SystemApi @@ -3759,6 +3789,7 @@ public class Intent implements Parcelable, Cloneable { * {@code true} if in emergency only mode, {@code false} otherwise. * @hide * @removed + * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#IS_EMERGENCY_ONLY}. */ @Deprecated @SystemApi @@ -3770,6 +3801,8 @@ public class Intent implements Parcelable, Cloneable { * {@code true} if registration indicates roaming, {@code false} otherwise * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#IS_DATA_ROAMING_FROM_REGISTRATION}. */ @Deprecated @SystemApi @@ -3782,6 +3815,8 @@ public class Intent implements Parcelable, Cloneable { * {@code true} if carrier aggregation is in use, {@code false} otherwise. * @hide * @removed + * @deprecated Use + * {@link android.provider.Telephony.ServiceStateTable#IS_USING_CARRIER_AGGREGATION}. */ @Deprecated @SystemApi |