commit | d3b2d72df7bbde4f3b9fc245315258404f920fd9 | [log] [tgz] |
---|---|---|
author | Charles He <qiurui@google.com> | Tue Aug 15 15:34:01 2017 +0100 |
committer | Charles He <qiurui@google.com> | Tue Aug 15 15:35:29 2017 +0100 |
tree | 3307f38ac6568cfb810247c700a4cf1c3d604c96 | |
parent | af087d3a4259d255b3885738327a0a6de92fb893 [diff] |
Opt-out for always-on VPN: rename API. Rename the opt-out flag in AndroidManifest to SERVICE_META_DATA_SUPPORTS_ALWAYS_ON as directed by the API Council. Bug: 64331776 Bug: 62503664 Test: run cts-dev --module CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAlwaysOnVpn* Change-Id: I42db531405629ebcd123bed9feb8cbb099985c1d
diff --git a/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/AlwaysOnVpnUnsupportedTest.java b/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/AlwaysOnVpnUnsupportedTest.java index 03f8be2..488823a 100644 --- a/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/AlwaysOnVpnUnsupportedTest.java +++ b/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/AlwaysOnVpnUnsupportedTest.java
@@ -26,7 +26,7 @@ * <ul> * <li>has a target SDK version below {@link android.os.Build.VERSION_CODES#N}, or</li> * <li>explicitly opts out of the feature through - * {@link android.net.VpnService#METADATA_SUPPORTS_ALWAYS_ON}</li> + * {@link android.net.VpnService#SERVICE_META_DATA_SUPPORTS_ALWAYS_ON}</li> * </ul> */ public class AlwaysOnVpnUnsupportedTest extends BaseDeviceAdminTest {