Remove patch format options

Output format will be the same as input
This commit is contained in:
topjohnwu 2019-04-09 04:37:25 -04:00
parent 7481c53451
commit e0424fdba3
3 changed files with 0 additions and 16 deletions

View File

@ -59,7 +59,6 @@ public class Config {
public static final String CHECK_UPDATES = "check_update"; public static final String CHECK_UPDATES = "check_update";
public static final String UPDATE_CHANNEL = "update_channel"; public static final String UPDATE_CHANNEL = "update_channel";
public static final String CUSTOM_CHANNEL = "custom_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 LOCALE = "locale";
public static final String DARK_THEME = "dark_theme"; public static final String DARK_THEME = "dark_theme";
public static final String ETAG_KEY = "ETag"; public static final String ETAG_KEY = "ETag";
@ -214,7 +213,6 @@ public class Config {
return PREF_BOOL; return PREF_BOOL;
case Key.CUSTOM_CHANNEL: case Key.CUSTOM_CHANNEL:
case Key.BOOT_FORMAT:
case Key.LOCALE: case Key.LOCALE:
case Key.ETAG_KEY: case Key.ETAG_KEY:
return PREF_STR; return PREF_STR;
@ -327,7 +325,6 @@ public class Config {
// prefs string // prefs string
defs.put(Key.CUSTOM_CHANNEL, ""); defs.put(Key.CUSTOM_CHANNEL, "");
defs.put(Key.BOOT_FORMAT, ".img");
defs.put(Key.LOCALE, ""); defs.put(Key.LOCALE, "");
//defs.put(Key.ETAG_KEY, null); //defs.put(Key.ETAG_KEY, null);

View File

@ -86,11 +86,6 @@
<item>Canary (Debug)</item> <item>Canary (Debug)</item>
</string-array> </string-array>
<string-array name="boot_formats">
<item>.img</item>
<item>.img.tar</item>
</string-array>
<string-array name="sorting_orders"> <string-array name="sorting_orders">
<item>@string/sort_by_name</item> <item>@string/sort_by_name</item>
<item>@string/sort_by_update</item> <item>@string/sort_by_update</item>

View File

@ -47,14 +47,6 @@
android:entries="@array/update_channel" android:entries="@array/update_channel"
android:entryValues="@array/value_array" /> android:entryValues="@array/value_array" />
<ListPreference
android:key="boot_format"
android:title="@string/settings_boot_format_title"
android:entries="@array/boot_formats"
android:entryValues="@array/boot_formats"
android:defaultValue=".img"
android:summary="@string/settings_boot_format_summary"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory