Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c08ae443 authored by Adam Lesinski's avatar Adam Lesinski
Browse files

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
parent 828e4c49
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -504,10 +504,12 @@ class QuickSettingsModel implements BluetoothStateChangeCallback,
    }

    void refreshRssiTile() {
        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
    void addBluetoothTile(QuickSettingsTileView view, RefreshCallback cb) {