[SettingsProvider] Add maxTargetSdk=S to ALWAYS_ON_VPN_LOCKDOWN_WHITELIST

Makes sure that third-party apps that target beyond S cannot access the
setting value directly from Settings.

BUG: 177239688
Test: manual with debug app
Change-Id: I2c5faad7f3e334704addc980530aae84c8c13864
This commit is contained in:
Songchun Fan
2022-04-12 23:28:30 +00:00
parent 7605f736e4
commit 44cd8dd482

View File

@@ -7084,7 +7084,7 @@ public final class Settings {
*
* @hide
*/
@Readable
@Readable(maxTargetSdk = Build.VERSION_CODES.S)
public static final String ALWAYS_ON_VPN_LOCKDOWN_WHITELIST =
"always_on_vpn_lockdown_whitelist";