Merge "Adding maxTargetSdk AndroidS to DATA_ROAMING. This will make sure that beyond S people can not access the DATA_ROAMING API from Settingss.Ideal way to use this is from TelephonyManager." into tm-dev am: c1f6508897

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17343450

Change-Id: If64249faabef9efc76e76f436e98362693a1ee75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Aman Gupta
2022-03-25 22:25:04 +00:00
committed by Automerger Merge Worker

View File

@@ -78,6 +78,7 @@ import android.os.ResultReceiver;
import android.os.ServiceManager;
import android.os.UserHandle;
import android.speech.tts.TextToSpeech;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.util.AndroidException;
import android.util.ArrayMap;
@@ -11316,8 +11317,9 @@ public final class Settings {
/**
* Whether or not data roaming is enabled. (0 = false, 1 = true)
* Use {@link TelephonyManager#isDataRoamingEnabled} instead of calling via settings.
*/
@Readable
@Readable(maxTargetSdk = Build.VERSION_CODES.S)
public static final String DATA_ROAMING = "data_roaming";
/**