From efef58276ec90749f91d0bf5e69ab8e9fbc599ea Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Fri, 2 Apr 2010 10:51:23 -0500 Subject: [PATCH] Allow the notification to never be shown --- res/values/arrays.xml | 10 +++++ res/values/strings.xml | 4 +- res/xml/preferences.xml | 12 +++--- src/org/kreed/vanilla/PlaybackService.java | 45 ++++++++++++---------- 4 files changed, 43 insertions(+), 28 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index a92e7f43..ae6dc45b 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -5,4 +5,14 @@ Enqueue Last Used Action + + Never Show + Show When Playing + Always Show + + + 0 + 1 + 2 + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index b40ce0f4..267f016c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -35,8 +35,8 @@ Clicking the notification will open a mini-player dialog Clicking the notification will open a the full player activity - Persistent Notification - Always display the notification + Notification Mode + When to show the notification Use Phone Dialer Input Enter filter text using buttons 1-9, where 1 matches 1, a, b or c, etc diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 1024eb02..4e5f1b89 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -15,17 +15,19 @@ android:summary="@string/headset_pause_summary" /> + -