From e0424fdba3813ff4c7286ad492080b4fb71179e6 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 9 Apr 2019 04:37:25 -0400 Subject: [PATCH] Remove patch format options Output format will be the same as input --- app/src/main/java/com/topjohnwu/magisk/Config.java | 3 --- app/src/main/res/values/arrays.xml | 5 ----- app/src/main/res/xml/app_settings.xml | 8 -------- 3 files changed, 16 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/Config.java b/app/src/main/java/com/topjohnwu/magisk/Config.java index fe12378ff..10f4119ea 100644 --- a/app/src/main/java/com/topjohnwu/magisk/Config.java +++ b/app/src/main/java/com/topjohnwu/magisk/Config.java @@ -59,7 +59,6 @@ public class Config { public static final String CHECK_UPDATES = "check_update"; public static final String UPDATE_CHANNEL = "update_channel"; public static final String CUSTOM_CHANNEL = "custom_channel"; - public static final String BOOT_FORMAT = "boot_format"; public static final String LOCALE = "locale"; public static final String DARK_THEME = "dark_theme"; public static final String ETAG_KEY = "ETag"; @@ -214,7 +213,6 @@ public class Config { return PREF_BOOL; case Key.CUSTOM_CHANNEL: - case Key.BOOT_FORMAT: case Key.LOCALE: case Key.ETAG_KEY: return PREF_STR; @@ -327,7 +325,6 @@ public class Config { // prefs string defs.put(Key.CUSTOM_CHANNEL, ""); - defs.put(Key.BOOT_FORMAT, ".img"); defs.put(Key.LOCALE, ""); //defs.put(Key.ETAG_KEY, null); diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 94546fe02..0beedc71e 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -86,11 +86,6 @@ Canary (Debug) - - .img - .img.tar - - @string/sort_by_name @string/sort_by_update diff --git a/app/src/main/res/xml/app_settings.xml b/app/src/main/res/xml/app_settings.xml index 223226f25..b7a6a0f4b 100644 --- a/app/src/main/res/xml/app_settings.xml +++ b/app/src/main/res/xml/app_settings.xml @@ -47,14 +47,6 @@ android:entries="@array/update_channel" android:entryValues="@array/value_array" /> - -