feat: remove ForceCodecPatch (#115)

This commit is contained in:
epicsampler 2022-08-03 18:41:31 +00:00 committed by GitHub
parent 1cceb626fa
commit 532de7e9a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}