commit | c6f0e23fa01ddfffae11d7b2f091d9c44fc039a4 | [log] [tgz] |
---|---|---|
author | Lenka Trochtova <ltrochtova@google.com> | Tue Jan 17 10:35:49 2017 +0100 |
committer | Andre Eisenbach <eisenbach@google.com> | Wed Jan 25 18:55:33 2017 +0000 |
tree | 14bf63dfa5692f6b117ec4ac195dcc16a6a99d1f | |
parent | 35c715332f9c5ea6bd91f4b26c954ef89026e814 [diff] |
Don't offer the BT sharing option to the user if BT is disallowed. Disable BluetoothOppLauncherActivity component if the UserManager#BLUETOOTH_DISALLOWED user restriction is set. Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testBluetoothRestriction Bug: 32895060 Bug: 34239380 Change-Id: I3467c82881896f276f542583bb50807b5e27276b