Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev

This commit is contained in:
Adam Lesinski
2013-10-10 23:03:53 +00:00
committed by Android (Google) Code Review

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) {