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

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

View File

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