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() {
|
public void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
|
|
||||||
if (mLocalAdapter != null) {
|
updateContent(mLocalAdapter.getBluetoothState());
|
||||||
updateContent(mLocalAdapter.getBluetoothState());
|
mAvailableDevicesCategory.setProgress(mLocalAdapter.isDiscovering());
|
||||||
mAvailableDevicesCategory.setProgress(mLocalAdapter.isDiscovering());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user