Merge "Bluetooth: mLocalAdapter should never be null" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
86fd147ac6
@@ -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