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
This commit is contained in:
@@ -70,16 +70,16 @@ public class BluetoothDeviceDetailsRotationTest {
|
||||
|
||||
BluetoothDeviceDetailsFragment.sTestDataFactory =
|
||||
new BluetoothDeviceDetailsFragment.TestDataFactory() {
|
||||
@Override
|
||||
public CachedBluetoothDevice getDevice(String deviceAddress) {
|
||||
return mCachedDevice;
|
||||
}
|
||||
@Override
|
||||
public CachedBluetoothDevice getDevice(String deviceAddress) {
|
||||
return mCachedDevice;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LocalBluetoothManager getManager(Context context) {
|
||||
return mBluetoothManager;
|
||||
}
|
||||
};
|
||||
@Override
|
||||
public LocalBluetoothManager getManager(Context context) {
|
||||
return mBluetoothManager;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -103,4 +103,4 @@ public class BluetoothDeviceDetailsRotationTest {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user