Merge "Bluetooth: mLocalAdapter should never be null" into oc-dr1-dev

am: 86fd147ac6

Change-Id: Ib56a1d03e9e74632137117802a5baab3870947bb
This commit is contained in:
Jack He
2017-07-11 21:22:40 +00:00
committed by android-build-merger

View File

@@ -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