Improve Bluetooth pairing dialog & contact sharing toggle
Before change: https://screenshot.googleplex.com/Agr29KTvgptbsag After change: https://screenshot.googleplex.com/ArjiavkFAFiuCTR Bug: 274521434 Test: RunSettingsRoboTests Change-Id: Ib896b70bc219de128b733b75249bf80e3389f221
This commit is contained in:
@@ -156,6 +156,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
|
||||
} else if (profile instanceof PbapServerProfile) {
|
||||
profilePref.setChecked(device.getPhonebookAccessPermission()
|
||||
== BluetoothDevice.ACCESS_ALLOWED);
|
||||
profilePref.setSummary(profile.getSummaryResourceForDevice(mCachedDevice.getDevice()));
|
||||
} else if (profile instanceof PanProfile) {
|
||||
profilePref.setChecked(profile.getConnectionStatus(device) ==
|
||||
BluetoothProfile.STATE_CONNECTED);
|
||||
|
Reference in New Issue
Block a user