Removed fake dark debug option

This commit is contained in:
M66B
2024-12-24 10:09:17 +01:00
parent 1b780f6e15
commit b85f64be29
6 changed files with 6 additions and 44 deletions

View File

@@ -441,12 +441,6 @@ public class WebViewEx extends WebView implements DownloadListener, View.OnLongC
public static boolean isFeatureSupported(Context context, String feature) {
if (WebViewFeature.ALGORITHMIC_DARKENING.equals(feature)) {
if (BuildConfig.DEBUG) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean fake_dark = prefs.getBoolean("fake_dark", false);
if (fake_dark)
return false;
}
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q)
return false;