From 4261538f2e98c39395931e9e79fc5a3a4ddbf23f Mon Sep 17 00:00:00 2001 From: scheib Date: Mon, 11 May 2015 17:09:38 -0700 Subject: bluetooth: 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} Review URL: https://codereview.chromium.org/1129683002 Cr-Commit-Position: refs/heads/master@{#329286} --- testing/android/native_test/java/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/android') diff --git a/testing/android/native_test/java/AndroidManifest.xml b/testing/android/native_test/java/AndroidManifest.xml index a92fb5f..37cc82d 100644 --- a/testing/android/native_test/java/AndroidManifest.xml +++ b/testing/android/native_test/java/AndroidManifest.xml @@ -11,7 +11,8 @@ found in the LICENSE file. android:versionName="1.0"> - + + -- cgit v1.1