Merge "Bluetooth: mLocalAdapter should never be null" into oc-dr1-dev
am: 86fd147ac6
Change-Id: Ib56a1d03e9e74632137117802a5baab3870947bb
This commit is contained in:
@@ -70,10 +70,8 @@ public class BluetoothPairingDetail extends DeviceListPreferenceFragment impleme
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
|
||||
if (mLocalAdapter != null) {
|
||||
updateContent(mLocalAdapter.getBluetoothState());
|
||||
mAvailableDevicesCategory.setProgress(mLocalAdapter.isDiscovering());
|
||||
}
|
||||
updateContent(mLocalAdapter.getBluetoothState());
|
||||
mAvailableDevicesCategory.setProgress(mLocalAdapter.isDiscovering());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user