diff --git a/src/com/android/settings/bluetooth/BluetoothPairingDetail.java b/src/com/android/settings/bluetooth/BluetoothPairingDetail.java index 6545ed1f945..d7b86c5869c 100644 --- a/src/com/android/settings/bluetooth/BluetoothPairingDetail.java +++ b/src/com/android/settings/bluetooth/BluetoothPairingDetail.java @@ -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