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
This commit is contained in:
@@ -78,6 +78,7 @@ import android.os.ResultReceiver;
|
|||||||
import android.os.ServiceManager;
|
import android.os.ServiceManager;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
import android.speech.tts.TextToSpeech;
|
import android.speech.tts.TextToSpeech;
|
||||||
|
import android.telephony.TelephonyManager;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.AndroidException;
|
import android.util.AndroidException;
|
||||||
import android.util.ArrayMap;
|
import android.util.ArrayMap;
|
||||||
@@ -11316,8 +11317,9 @@ public final class Settings {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not data roaming is enabled. (0 = false, 1 = true)
|
* 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";
|
public static final String DATA_ROAMING = "data_roaming";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user