Fix SystemUI crash on devices with WiFi only
A recent change to QuickSettings forgot to check whether the device has a radio or not. Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user