package hanson.xyz.vpnhotspotmod.net.wifi;

/**
 * This mechanism is used to maximize profit. Source: https://stackoverflow.com/a/29657230/2245107
 */
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0018\u0000 \u000f2\u00020\u0001:\u0003\u000e\u000f\u0010B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\b\u0010\f\u001a\u00020\rH\u0016R \u0010\u0005\u001a\u0012 \b*\b\u0018\u00010\u0006R\u00020\u00070\u0006R\u00020\u00078\u0002X\u0083\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u0010\t\u001a\u0012 \b*\b\u0018\u00010\nR\u00020\u000b0\nR\u00020\u000bX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock;", "Ljava/lang/AutoCloseable;", "lockType", "", "(I)V", "power", "Landroid/os/PowerManager$WakeLock;", "Landroid/os/PowerManager;", "kotlin.jvm.PlatformType", "wifi", "Landroid/net/wifi/WifiManager$WifiLock;", "Landroid/net/wifi/WifiManager;", "close", "", "ActivityListener", "Companion", "Mode", "mobile_freedomDebug"})
public final class WifiDoubleLock implements java.lang.AutoCloseable {
    @org.jetbrains.annotations.NotNull
    private static final java.lang.String KEY = "service.wifiLock";
    @org.jetbrains.annotations.NotNull
    private static final kotlin.Lazy<?> service$delegate = null;
    @org.jetbrains.annotations.NotNull
    private static java.util.Set<java.lang.Object> holders;
    @org.jetbrains.annotations.Nullable
    private static hanson.xyz.vpnhotspotmod.net.wifi.WifiDoubleLock lock;
    private final android.net.wifi.WifiManager.WifiLock wifi = null;
    @android.annotation.SuppressLint(value = {"WakelockTimeout"})
    private final android.os.PowerManager.WakeLock power = null;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.net.wifi.WifiDoubleLock.Companion Companion = null;
    
    public WifiDoubleLock(int lockType) {
        super();
    }
    
    @java.lang.Override
    public void close() {
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u000eH\u0016J\u001c\u0010\u000f\u001a\u00020\f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u0010\b\u001a\u00020\u00072\u0006\u0010\u0006\u001a\u00020\u0007@BX\u0082\u000e\u00a2\u0006\b\n\u0000\"\u0004\b\t\u0010\n\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$ActivityListener;", "Landroidx/lifecycle/DefaultLifecycleObserver;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "activity", "Landroidx/activity/ComponentActivity;", "(Landroidx/activity/ComponentActivity;)V", "value", "", "keepScreenOn", "setKeepScreenOn", "(Z)V", "onDestroy", "", "owner", "Landroidx/lifecycle/LifecycleOwner;", "onSharedPreferenceChanged", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "", "mobile_freedomDebug"})
    public static final class ActivityListener implements androidx.lifecycle.DefaultLifecycleObserver, android.content.SharedPreferences.OnSharedPreferenceChangeListener {
        @org.jetbrains.annotations.NotNull
        private final androidx.activity.ComponentActivity activity = null;
        private boolean keepScreenOn = false;
        
        public ActivityListener(@org.jetbrains.annotations.NotNull
        androidx.activity.ComponentActivity activity) {
            super();
        }
        
        private final void setKeepScreenOn(boolean value) {
        }
        
        @java.lang.Override
        public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
        android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
        java.lang.String key) {
        }
        
        @java.lang.Override
        public void onDestroy(@org.jetbrains.annotations.NotNull
        androidx.lifecycle.LifecycleOwner owner) {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010#\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u0007J\u001c\u0010\u001a\u001a\u00020\u00182\b\u0010\u001b\u001a\u0004\u0018\u00010\u001c2\b\u0010\u001d\u001a\u0004\u0018\u00010\u0004H\u0016J\u000e\u0010\u001e\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u0007R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\b\u001a\u0004\u0018\u00010\tX\u0082\u000e\u00a2\u0006\u0002\n\u0000R$\u0010\f\u001a\u00020\u000b2\u0006\u0010\n\u001a\u00020\u000b8F@FX\u0086\u000e\u00a2\u0006\f\u001a\u0004\b\r\u0010\u000e\"\u0004\b\u000f\u0010\u0010R\u001b\u0010\u0011\u001a\u00020\u00128BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0015\u0010\u0016\u001a\u0004\b\u0013\u0010\u0014\u00a8\u0006\u001f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$Companion;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "()V", "KEY", "", "holders", "", "", "lock", "Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock;", "value", "Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$Mode;", "mode", "getMode", "()Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$Mode;", "setMode", "(Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$Mode;)V", "service", "Landroid/os/PowerManager;", "getService", "()Landroid/os/PowerManager;", "service$delegate", "Lkotlin/Lazy;", "acquire", "", "holder", "onSharedPreferenceChanged", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "release", "mobile_freedomDebug"})
    public static final class Companion implements android.content.SharedPreferences.OnSharedPreferenceChangeListener {
        
        private Companion() {
            super();
        }
        
        @kotlin.Suppress(names = {"DEPRECATION"})
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.net.wifi.WifiDoubleLock.Mode getMode() {
            return null;
        }
        
        public final void setMode(@org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.wifi.WifiDoubleLock.Mode value) {
        }
        
        private final android.os.PowerManager getService() {
            return null;
        }
        
        public final void acquire(@org.jetbrains.annotations.NotNull
        java.lang.Object holder) {
        }
        
        public final void release(@org.jetbrains.annotations.NotNull
        java.lang.Object holder) {
        }
        
        @java.lang.Override
        public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
        android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
        java.lang.String key) {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u000b\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u001d\b\u0002\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000f\u00a8\u0006\u0010"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/WifiDoubleLock$Mode;", "", "lockType", "", "keepScreenOn", "", "(Ljava/lang/String;ILjava/lang/Integer;Z)V", "getKeepScreenOn", "()Z", "getLockType", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "None", "Full", "HighPerf", "LowLatency", "mobile_freedomDebug"})
    public static enum Mode {
        /*public static final*/ None /* = new None(null, false) */,
        @kotlin.Suppress(names = {"DEPRECATION"})
        @java.lang.Deprecated
        /*public static final*/ Full /* = new Full(null, false) */,
        @kotlin.Suppress(names = {"DEPRECATION"})
        /*public static final*/ HighPerf /* = new HighPerf(null, false) */,
        @androidx.annotation.RequiresApi(value = 29)
        /*public static final*/ LowLatency /* = new LowLatency(null, false) */;
        @org.jetbrains.annotations.Nullable
        private final java.lang.Integer lockType = null;
        private final boolean keepScreenOn = false;
        
        Mode(java.lang.Integer lockType, boolean keepScreenOn) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer getLockType() {
            return null;
        }
        
        public final boolean getKeepScreenOn() {
            return false;
        }
        
        @org.jetbrains.annotations.NotNull
        public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.wifi.WifiDoubleLock.Mode> getEntries() {
            return null;
        }
    }
}