diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/res/xml/preferences.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index e4ee8df2..ddfa90d6 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -10,7 +10,7 @@ android:title="@string/pref_grant_presence_updates"/> <ListPreference - android:defaultValue="Mobile" + android:defaultValue="@string/default_resource" android:entries="@array/resources" android:entryValues="@array/resources" android:key="resource" @@ -224,14 +224,22 @@ <PreferenceCategory android:title="@string/pref_presence_settings"> <CheckBoxPreference android:defaultValue="false" + android:key="manually_change_presence" + android:title="@string/pref_manually_change_presence" + android:summary="@string/pref_manually_change_presence_summary" + android:disableDependentsState="true"/> + <CheckBoxPreference + android:defaultValue="false" android:key="away_when_screen_off" android:summary="@string/pref_away_when_screen_off_summary" - android:title="@string/pref_away_when_screen_off"/> + android:title="@string/pref_away_when_screen_off" + android:dependency="manually_change_presence"/> <CheckBoxPreference android:defaultValue="false" android:key="xa_on_silent_mode" android:summary="@string/pref_xa_on_silent_mode_summary" - android:title="@string/pref_xa_on_silent_mode"/> + android:title="@string/pref_xa_on_silent_mode" + android:dependency="manually_change_presence"/> <CheckBoxPreference android:dependency="xa_on_silent_mode" android:defaultValue="false" |