package com.seewo.remote.g;

import android.net.wifi.WifiManager;
import com.seewo.remote.base.App;

/* JADX INFO: compiled from: WifiHelper.kt */
/* JADX INFO: loaded from: classes.dex */
public final class x {
    public static final x a = new x();

    private x() {
    }

    public final boolean a() {
        Object systemService = App.b.getSystemService("wifi");
        if (systemService != null) {
            return ((WifiManager) systemService).isWifiEnabled();
        }
        throw new NullPointerException("null cannot be cast to non-null type android.net.wifi.WifiManager");
    }
}
