From 715408e59284d30f9aeb582119e5697a9f374027 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Thu, 7 Feb 2019 15:47:52 -0800 Subject: [PATCH] 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 --- AndroidManifest.xml | 12 ++++++++ src/com/android/settings/Settings.java | 1 + .../BluetoothDetailsProfilesController.java | 35 +++++++++++++++++++--- .../bluetooth/BluetoothDeviceDetailsFragment.java | 5 ++++ .../BluetoothDetailsProfilesControllerTest.java | 21 +++++++++++-- .../BluetoothDeviceDetailsRotationTest.java | 20 ++++++------- 6 files changed, 78 insertions(+), 16 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 90aa55ff1a..e0910f20bc 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2987,6 +2987,18 @@ android:value="true" /> + + + + + + + +