Adding maxTargetSdk AndroidS_V2 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. Test: manual. Bug: 172467621 Change-Id: I5bbdd886599ff0ecf66eb72beb78456adc4d632c
This commit is contained in:
@@ -11374,7 +11374,7 @@ 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(maxTargetSdk = Build.VERSION_CODES.S)
|
||||
@Readable(maxTargetSdk = Build.VERSION_CODES.S_V2)
|
||||
public static final String DATA_ROAMING = "data_roaming";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user