From 2a6d401df5ebfabba8fee3966d66e8905500652a Mon Sep 17 00:00:00 2001 From: pascua28 <32544529+pascua28@users.noreply.github.com> Date: Thu, 4 Aug 2022 18:47:49 +0800 Subject: [PATCH] refactor: remove stray codec settings (#117) --- .../java/app/revanced/integrations/settings/SettingsEnum.java | 3 --- .../integrations/settingsmenu/ReVancedSettingsFragment.java | 1 - 2 files changed, 4 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java b/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java index 439b38db..8d840722 100644 --- a/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java +++ b/app/src/main/java/app/revanced/integrations/settings/SettingsEnum.java @@ -12,9 +12,6 @@ import app.revanced.integrations.utils.SharedPrefHelper; public enum SettingsEnum { - //Codec Override - CODEC_OVERRIDE("revanced_override_codec_enabled", false, ReturnType.BOOLEAN), - //Video Settings OLD_STYLE_QUALITY_SETTINGS("revanced_use_old_style_quality_settings", true, ReturnType.BOOLEAN), PREFERRED_VIDEO_SPEED("revanced_pref_video_speed", -2.0f, ReturnType.FLOAT), diff --git a/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingsFragment.java b/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingsFragment.java index 5d4b3464..2c582463 100644 --- a/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingsFragment.java +++ b/app/src/main/java/app/revanced/integrations/settingsmenu/ReVancedSettingsFragment.java @@ -123,7 +123,6 @@ public class ReVancedSettingsFragment extends PreferenceFragment { sharedPreferences.registerOnSharedPreferenceChangeListener(this.listener); this.Registered = true; this.screens = new ArrayList<>(); - this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("codec_override")); this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("video_settings")); this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("video_ad_settings")); this.screens.add((PreferenceScreen) getPreferenceScreen().findPreference("ad_settings"));