commit | 1522a26f8be0d66d4d4141b568b7f42faa67fa5e | [log] [tgz] |
---|---|---|
author | rd1gbug rd <rd1gbug.rd@transsion.corp-partner.google.com> | Wed Dec 30 07:45:58 2020 +0000 |
committer | rd1gbug rd <rd1gbug.rd@transsion.corp-partner.google.com> | Wed Dec 30 07:51:08 2020 +0000 |
tree | ad31b11e64e06355d9c4cf5fb4b02b4be420432a | |
parent | 0d9437d8b4b7cbd7cde16796c60469ce9b5c12f5 [diff] |
After remove the user restricition,add more timeout for the Bluetooth sharing become available. Bug:176511608 Change-Id: I727244a94c08b44df2062ecff645da0f2bcab0f1 Test:run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfileTest#testBluetoothSharingRestriction
diff --git a/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/BluetoothSharingRestrictionTest.java b/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/BluetoothSharingRestrictionTest.java index 4c5659b..3270ef2 100644 --- a/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/BluetoothSharingRestrictionTest.java +++ b/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/BluetoothSharingRestrictionTest.java
@@ -39,7 +39,7 @@ */ public class BluetoothSharingRestrictionTest extends BaseManagedProfileTest { /** How long should we wait for the component state to change. */ - private static final int COMPONENT_STATE_TIMEOUT_MS = 2000; + private static final int COMPONENT_STATE_TIMEOUT_MS = 5000; /** How often to check component state. */ private static final int POLL_TIME_MS = 400; /** Activity that handles Bluetooth sharing. */