Add picker page for Bluetooth devices.
This is separate from the standard pairing flow and is intended for use from other applications.
Bug: 122608757
Test: build and deploy, test via KitchenSink and adb, RunCarSettingsRoboTests
Change-Id: I5650829ee86898fe7be13688dbd0603fa218a617
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 569d7ad..fa6fa0f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -238,6 +238,16 @@
<meta-data android:name="distractionOptimized" android:value="true"/>
</activity>
+ <activity android:name=".bluetooth.BluetoothDevicePickerActivity"
+ android:label="@string/bluetooth_device_picker"
+ android:configChanges="orientation|keyboardHidden|screenSize"
+ android:clearTaskOnLaunch="true">
+ <intent-filter>
+ <action android:name="android.bluetooth.devicepicker.action.LAUNCH" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
<activity android:name=".accounts.AddAccountActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:configChanges="orientation|keyboardHidden|screenSize"/>