diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-04-22 21:25:06 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-04-22 21:25:06 +0200 |
commit | 1901abd05fc051b776e2bbb10295f936408a0843 (patch) | |
tree | e010518afdcd1723a292df8b65981154284ddf77 /src/main/res/xml/preferences.xml | |
parent | 195b745efc0747e930a639d2c89d4c3a79e0a3c2 (diff) |
expert setting to manually change presence
Diffstat (limited to 'src/main/res/xml/preferences.xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index d1ba6b7f3..63dc71dbd 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -193,14 +193,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" |