Descriptionbluetooth: Android adapter can be created with and without Bluetooth permission.
This enables unit tests to run with Bluetooth permission,
by adding the Bluetooth permission to native_test.
Non-test applications will not have the Bluetooth permission,
and unit tests should also verify behavior
when the permission is not given. To enable this
createWithoutPermissionForTesting is added and
results in a state equivalent to when the permission
is not available.
Unit tests will be built in parallel for both when Bluetooth
permission exists and doesn't.
BUG=471536
Committed: https://crrev.com/30e81472dc168ea1c331a8779b3f6a14f684c54b
Cr-Commit-Position: refs/heads/master@{#329212}
Committed: https://crrev.com/4261538f2e98c39395931e9e79fc5a3a4ddbf23f
Cr-Commit-Position: refs/heads/master@{#329286}
Patch Set 1 #
Total comments: 10
Patch Set 2 : tedchoc comments addressed. #
Total comments: 1
Patch Set 3 : Reland: IsPowered may be false on test infra. #
Messages
Total messages: 27 (11 generated)
|