|
|
|
@ -6,7 +6,6 @@ import android.net.Uri; |
|
|
|
import android.os.Build; |
|
|
|
import android.os.Build; |
|
|
|
import android.provider.Settings; |
|
|
|
import android.provider.Settings; |
|
|
|
|
|
|
|
|
|
|
|
import com.fongmi.android.tv.player.Players; |
|
|
|
|
|
|
|
import com.github.catvod.utils.Prefers; |
|
|
|
import com.github.catvod.utils.Prefers; |
|
|
|
|
|
|
|
|
|
|
|
public class Setting { |
|
|
|
public class Setting { |
|
|
|
@ -67,14 +66,6 @@ public class Setting { |
|
|
|
Prefers.put("reset", reset); |
|
|
|
Prefers.put("reset", reset); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static int getDecode() { |
|
|
|
|
|
|
|
return Prefers.getInt("decode", Players.HARD); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void putDecode(int decode) { |
|
|
|
|
|
|
|
Prefers.put("decode", decode); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static int getRender() { |
|
|
|
public static int getRender() { |
|
|
|
return Prefers.getInt("render", 0); |
|
|
|
return Prefers.getInt("render", 0); |
|
|
|
} |
|
|
|
} |
|
|
|
|