am 6c906dc5: Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev

* commit '6c906dc52d1f967a695462d6c83e33d2a4e3b0f2':
  Fix SystemUI crash on devices with WiFi only
This commit is contained in:
Adam Lesinski
2013-10-10 16:08:47 -07:00
committed by Android Git Automerger

View File

@@ -504,9 +504,11 @@ class QuickSettingsModel implements BluetoothStateChangeCallback,
}
void refreshRssiTile() {
// We reinflate the original view due to potential styling changes that may have
// taken place due to a configuration change.
mRSSITile.reinflateContent(LayoutInflater.from(mContext));
if (mRSSITile != null) {
// We reinflate the original view due to potential styling changes that may have
// taken place due to a configuration change.
mRSSITile.reinflateContent(LayoutInflater.from(mContext));
}
}
// Bluetooth