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,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