Merge pull request #195 from l3d00m/lockscreen-privacy

Add a option to hide sender too in notifications
This commit is contained in:
Moez Bhatti
2015-10-20 14:03:23 -04:00
8 changed files with 94 additions and 46 deletions
+2 -2
View File
@@ -106,8 +106,8 @@
android:defaultValue="true"
android:key="pref_key_ticker" />
<Preference
android:defaultValue="false"
android:key="pref_key_notifications_private" />
android:defaultValue="0"
android:key="pref_key_notification_private" />
<Preference
android:defaultValue="true"
android:key="pref_key_vibration" />
@@ -39,14 +39,14 @@
android:summary="@string/pref_ticker_summary"
android:title="@string/pref_ticker"
android:widgetLayout="@layout/view_checkbox" />
<CheckBoxPreference
android:defaultValue="false"
android:dependency="pref_key_notifications"
android:key="pref_key_notifications_private"
<ListPreference
android:defaultValue="0"
android:entries="@array/notification_private_options"
android:entryValues="@array/enter_button_values"
android:key="pref_key_notification_private"
android:layout="@layout/list_item_preference"
android:summary="@string/pref_notifications_private_summary"
android:title="@string/pref_notifications_private"
android:widgetLayout="@layout/view_checkbox" />
android:title="@string/pref_notifications_private" />
<CheckBoxPreference
android:defaultValue="true"
android:dependency="pref_key_notifications"