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

Commit 3ee3f8aa authored by Zhao Wei Liew's avatar Zhao Wei Liew
Browse files

SystemUI: HotspotTile: Don't reset the number of connected clients



This seems to be a cherry-pick error, since this line of code wasn't
in the original cm-13.0 commit: 983893dd.

This resulted in the hotspot QS tile occasionally displaying
'0 clients' instead of the actual number of clients connected.

Change-Id: I3e7621e4c7ddcde7e1925f0aa8c44d364c706099
Reported-by: default avatarNikolay Jeliazkov <&lt;nijel8@gmail.com>
parent c4093ffe
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -152,7 +152,6 @@ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> {
            state.label = mContext.getResources().getQuantityString(
                    R.plurals.wifi_hotspot_connected_clients_label, mNumConnectedClients,
                    mNumConnectedClients);
            mNumConnectedClients = 0;
        } else {
            state.label = mContext.getString(R.string.quick_settings_hotspot_label);
        }