Add intent action for BT device detail page
Also update detail page to accept cold start:
1. Check whether profile is ready
2. When it is ready, refresh UI
Bug: 123665527
Test: SettingsRoboTests
Change-Id: I39382fd97e9da46fca08cd2e4a3ef15d32703664
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 90aa55f..e0910f2 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2987,6 +2987,18 @@
android:value="true" />
</activity>
+ <activity android:name="Settings$BluetoothDeviceDetailActivity"
+ android:label="@string/device_details_title"
+ android:permission="android.permission.BLUETOOTH_PRIVILEGED"
+ android:parentActivityName="Settings$ConnectedDeviceDashboardActivity">
+ <intent-filter android:priority="1">
+ <action android:name="com.android.settings.BLUETOOTH_DEVICE_DETAIL_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.bluetooth.BluetoothDeviceDetailsFragment" />
+ </activity>
+
<activity android:name=".panel.SettingsPanelActivity"
android:label="@string/settings_panel_title"
android:theme="@style/Theme.BottomDialog"