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

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

View File

@@ -627,9 +627,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