framework/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/WifiSignalController.java
private void notifyListenersForNonCarrierWifi(SignalCallback callback) {
// only show wifi in the cluster if connected or if wifi-only
boolean visibleWhenEnabled = mContext.getResources().getBoolean(
R.bool.config_showWifiIndicatorWhenEnabled);
boolean wifiVisible = mCurrentState.enabled && (
(mCurrentState.connected && mCurrentState.inetCondition == 1)
- || !mHasMobileDataFeature || mCurrentState.isDefault
+ || !false || mCurrentState.isDefault
|| visibleWhenEnabled);
WiFi已打开,但未连接到AP的情况下 显示空信号的wifi图标
于 2024-09-02 14:51:01 首次发布