Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
e0424fdb
Commit
e0424fdb
authored
Apr 09, 2019
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove patch format options
Output format will be the same as input
parent
7481c534
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
Config.java
app/src/main/java/com/topjohnwu/magisk/Config.java
+0
-3
arrays.xml
app/src/main/res/values/arrays.xml
+0
-5
app_settings.xml
app/src/main/res/xml/app_settings.xml
+0
-8
No files found.
app/src/main/java/com/topjohnwu/magisk/Config.java
View file @
e0424fdb
...
@@ -59,7 +59,6 @@ public class Config {
...
@@ -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 {
...
@@ -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 {
...
@@ -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);
...
...
app/src/main/res/values/arrays.xml
View file @
e0424fdb
...
@@ -86,11 +86,6 @@
...
@@ -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>
...
...
app/src/main/res/xml/app_settings.xml
View file @
e0424fdb
...
@@ -47,14 +47,6 @@
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment