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

Commit c1f65088 authored by Aman Gupta's avatar Aman Gupta Committed by Android (Google) Code Review
Browse files

Merge "Adding maxTargetSdk AndroidS to DATA_ROAMING. This will make sure that...

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
parents 73f7aaf5 d6daec7f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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";
        /**