mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-01 00:02:55 +01:00
feat: remove ForceCodecPatch
(#115)
This commit is contained in:
parent
1cceb626fa
commit
532de7e9a1
@ -1,22 +0,0 @@
|
||||
package app.revanced.integrations.patches;
|
||||
|
||||
import android.os.Build;
|
||||
|
||||
import app.revanced.integrations.settings.SettingsEnum;
|
||||
|
||||
public class ForceCodecPatch {
|
||||
|
||||
public static String getManufacturer() {
|
||||
return SettingsEnum.CODEC_OVERRIDE.getBoolean() ? "samsung" : Build.MANUFACTURER;
|
||||
}
|
||||
|
||||
public static String getModel() {
|
||||
return SettingsEnum.CODEC_OVERRIDE.getBoolean() ? "SM-G920F" : Build.MODEL;
|
||||
}
|
||||
|
||||
public static boolean shouldForceVP9() {
|
||||
return SettingsEnum.CODEC_OVERRIDE.getBoolean();
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user