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

Commit 8d2e3abb authored by Jordan Liu's avatar Jordan Liu
Browse files

Add documentation for what to use for SS changes

Since the broadcast is deprecated in favor of the ServiceStateProvider,
the documentation should reflect this.

Note that the LteEarfcnRsrpBoost has not been migrated into the provider
so this also needs to happen.

Bug: 33756364
Fixes: 78188866
Test: no behavior change, ran make
Change-Id: Ia15a7408bdc79927438fa243cce77b262bbb66c4
Merged-In: Ia15a7408bdc79927438fa243cce77b262bbb66c4
parent 2a661bff
Loading
Loading
Loading
Loading
+35 −0
Original line number Original line Diff line number Diff line
@@ -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.
     * <p class="note">This is a protected intent that can only be sent by the system.
     * @hide
     * @hide
     * @removed
     * @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
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3567,6 +3571,7 @@ public class Intent implements Parcelable, Cloneable {
     * @see android.telephony.ServiceState#STATE_POWER_OFF
     * @see android.telephony.ServiceState#STATE_POWER_OFF
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_REG_STATE}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3580,6 +3585,7 @@ public class Intent implements Parcelable, Cloneable {
     * @see android.telephony.ServiceState#STATE_POWER_OFF
     * @see android.telephony.ServiceState#STATE_POWER_OFF
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_REG_STATE}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3590,6 +3596,7 @@ public class Intent implements Parcelable, Cloneable {
     * type.
     * type.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_ROAMING_TYPE}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3600,6 +3607,7 @@ public class Intent implements Parcelable, Cloneable {
     * type.
     * type.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_ROAMING_TYPE}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3611,6 +3619,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code null} if the operator name is not known or unregistered.
     * {@code null} if the operator name is not known or unregistered.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_LONG}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3622,6 +3632,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code null} if the operator name is not known or unregistered.
     * {@code null} if the operator name is not known or unregistered.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_ALPHA_SHORT}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3633,6 +3645,7 @@ public class Intent implements Parcelable, Cloneable {
     * network.
     * network.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#VOICE_OPERATOR_NUMERIC}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3644,6 +3657,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code null} if the operator name is not known or unregistered.
     * {@code null} if the operator name is not known or unregistered.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_LONG}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3655,6 +3670,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code null} if the operator name is not known or unregistered.
     * {@code null} if the operator name is not known or unregistered.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_ALPHA_SHORT}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3666,6 +3683,7 @@ public class Intent implements Parcelable, Cloneable {
     * data operator.
     * data operator.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#DATA_OPERATOR_NUMERIC}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3677,6 +3695,8 @@ public class Intent implements Parcelable, Cloneable {
     * Will be {@code true} if manual mode, {@code false} if automatic mode.
     * Will be {@code true} if manual mode, {@code false} if automatic mode.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#IS_MANUAL_NETWORK_SELECTION}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3687,6 +3707,8 @@ public class Intent implements Parcelable, Cloneable {
     * radio technology.
     * radio technology.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#RIL_VOICE_RADIO_TECHNOLOGY}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3697,6 +3719,8 @@ public class Intent implements Parcelable, Cloneable {
     * radio technology.
     * radio technology.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#RIL_DATA_RADIO_TECHNOLOGY}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3708,6 +3732,7 @@ public class Intent implements Parcelable, Cloneable {
     * Will be {@code true} if support, {@code false} otherwise.
     * Will be {@code true} if support, {@code false} otherwise.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#CSS_INDICATOR}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3718,6 +3743,7 @@ public class Intent implements Parcelable, Cloneable {
     * id. {@code Integer.MAX_VALUE} if unknown.
     * id. {@code Integer.MAX_VALUE} if unknown.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#NETWORK_ID}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3728,6 +3754,7 @@ public class Intent implements Parcelable, Cloneable {
     * {@code Integer.MAX_VALUE} if unknown.
     * {@code Integer.MAX_VALUE} if unknown.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#SYSTEM_ID}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @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.
     * indicator if registered on a CDMA or EVDO system or {@code -1} if not.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#CDMA_ROAMING_INDICATOR}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @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.
     * indicator from the PRL if registered on a CDMA or EVDO system {@code -1} if not.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#CDMA_DEFAULT_ROAMING_INDICATOR}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3759,6 +3789,7 @@ public class Intent implements Parcelable, Cloneable {
     * {@code true} if in emergency only mode, {@code false} otherwise.
     * {@code true} if in emergency only mode, {@code false} otherwise.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use {@link android.provider.Telephony.ServiceStateTable#IS_EMERGENCY_ONLY}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3770,6 +3801,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code true} if registration indicates roaming, {@code false} otherwise
     * {@code true} if registration indicates roaming, {@code false} otherwise
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#IS_DATA_ROAMING_FROM_REGISTRATION}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi
@@ -3782,6 +3815,8 @@ public class Intent implements Parcelable, Cloneable {
     * {@code true} if carrier aggregation is in use, {@code false} otherwise.
     * {@code true} if carrier aggregation is in use, {@code false} otherwise.
     * @hide
     * @hide
     * @removed
     * @removed
     * @deprecated Use
     * {@link android.provider.Telephony.ServiceStateTable#IS_USING_CARRIER_AGGREGATION}.
     */
     */
    @Deprecated
    @Deprecated
    @SystemApi
    @SystemApi