SystemUI: QSTile: Drop setting Hotspot icon based on standards
Irrespective of the WiFi Standards, set the default icon for
Hotspot.
Issue: FP3-A11#268
Change-Id: Idf3f61d11e2f1f566792dcad11c47417eea80574
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
index 7cbc97b..bc62b8f 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java
@@ -151,15 +151,6 @@
if (state.isTransient) {
state.icon = ResourceIcon.get(
com.android.internal.R.drawable.ic_hotspot_transient_animation);
- } else if (state.value) {
- int standard = mWifiManager.getSoftApWifiStandard();
- if (standard == ScanResult.WIFI_STANDARD_11AX) {
- state.icon = mWifi6EnabledStatic;
- } else if (standard == ScanResult.WIFI_STANDARD_11AC) {
- state.icon = mWifi5EnabledStatic;
- } else if (standard == ScanResult.WIFI_STANDARD_11N) {
- state.icon = mWifi4EnabledStatic;
- }
}
state.expandedAccessibilityClassName = Switch.class.getName();
state.contentDescription = state.label;