Clean up default preferences setter

This commit is contained in:
d8ahazard
2016-09-26 13:16:11 -05:00
committed by topjohnwu
parent c553312fd5
commit a1335aecfb
4 changed files with 11 additions and 22 deletions
-15
View File
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference
android:key="theme"
android:defaultValue="Default"
/>
<Preference
android:key="auto_blacklist"
android:defaultValue="com.google.android.apps.walletnfcrel"
/>
<Preference
android:key="auto_whitelist"
android:defaultValue="com.keramidas.TitaniumBackupPro"
/>
</PreferenceScreen>
+4
View File
@@ -8,6 +8,7 @@
android:key="theme"
android:title="Theme"
android:summary="Select a theme"
android:defaultValue="Default"
android:entries="@array/themes"
android:entryValues="@array/themes"/>
</PreferenceCategory>
@@ -16,6 +17,7 @@
<CheckBoxPreference
android:key="enable_quicktile"
android:defaultValue="false"
android:title="@string/settings_enable_quicktile_title"
android:summary="@string/settings_enable_quicktile_summary" />
@@ -24,6 +26,7 @@
android:title="@string/settings_root_category">
<CheckBoxPreference
android:key="keep_root_off"
android:defaultValue="false"
android:title="@string/settings_keep_root_off_title"
android:summary="@string/settings_keep_root_off_summary" />
@@ -39,6 +42,7 @@
<CheckBoxPreference
android:key="developer_logging"
android:defaultValue="false"
android:title="@string/settings_developer_logging_title"
android:summary="@string/settings_developer_logging_summary" />