Action intents for bluetooth
Add the ability to enable with discoverability.
Also update the theme to make the background transparent.
Bug: 133189770
Test: manual
Change-Id: I1eda863506f44eb15d84165455ac0f028ddf0c1e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 47c8256..a94f42c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -263,8 +263,12 @@
</activity>
<activity android:name=".bluetooth.BluetoothRequestPermissionActivity"
- android:excludeFromRecents="true">
+ android:theme="@style/ActionDialogTheme"
+ android:excludeFromRecents="true"
+ android:clearTaskOnLaunch="true"
+ android:launchMode="singleInstance">
<intent-filter>
+ <action android:name="android.bluetooth.adapter.action.REQUEST_DISCOVERABLE" />
<action android:name="android.bluetooth.adapter.action.REQUEST_ENABLE" />
<action android:name="android.bluetooth.adapter.action.REQUEST_DISABLE" />
<category android:name="android.intent.category.DEFAULT" />