commit | 77fe44ffb6b5d40daf3b127cb36d5111b7618cc1 | [log] [tgz] |
---|---|---|
author | Lenka Trochtova <ltrochtova@google.com> | Mon Jan 09 19:48:51 2017 +0100 |
committer | Lenka Trochtova <ltrochtova@google.com> | Tue Jan 10 10:54:14 2017 +0100 |
tree | 2c597f241f4fda5bbce318bd8dbc1b690407b71d | |
parent | 6a9ad14172619b7d61a5119d7f95e613d890f603 [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 Change-Id: I4316843b2858aefa750f12a8a0e940424aa21a10