commit | c4389d0e7becfaab72c1881c2d498025a3e866f1 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Wed Sep 20 11:58:15 2017 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Wed Sep 20 11:58:15 2017 +0100 |
tree | 7e36700feab735b3a0a3f80b94698001e605caa1 | |
parent | a9844fb99a52349afed2c6e6f71d3335083fe45e [diff] |
Add missing feature check Bug: 65852986 Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testResetPasswordWithToken Change-Id: I9439c939748773f9bf925fe02e5c454b52e25c01
diff --git a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java index 5d14816..6b7d89b 100644 --- a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java +++ b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/DeviceAndProfileOwnerTest.java
@@ -803,6 +803,9 @@ } public void testPasswordSufficientInitially() throws Exception { + if (!mHasFeature) { + return; + } executeDeviceTestClass(".PasswordSufficientInitiallyTest"); }