From e4fb5611c78c40a24a41fa3bc357419cbff1709d Mon Sep 17 00:00:00 2001 From: Rohit Yengisetty Date: Mon, 3 Nov 2014 12:20:34 -0800 Subject: [PATCH] Eleven - Changing the color of the Notification divider line to blue. Also increasing the inactivity-timeout of the notification to 5 minutes. https://cyanogen.atlassian.net/browse/MUSIC-160 https://cyanogen.atlassian.net/browse/MUSIC-177 Change-Id: If4c6a961fbec4dd8be43e6c7ba25a42488e70afb --- res/values/colors.xml | 2 +- src/com/cyngn/eleven/MusicPlaybackService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/values/colors.xml b/res/values/colors.xml index c9cafe6..f1f58d7 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -109,7 +109,7 @@ #40ffffff - #569fd7 + #373737 #ccffffff diff --git a/src/com/cyngn/eleven/MusicPlaybackService.java b/src/com/cyngn/eleven/MusicPlaybackService.java index f93f134..0b00d7f 100644 --- a/src/com/cyngn/eleven/MusicPlaybackService.java +++ b/src/com/cyngn/eleven/MusicPlaybackService.java @@ -287,9 +287,9 @@ public class MusicPlaybackService extends Service { private static final int FADEUP = 7; /** - * Idle time before stopping the foreground notfication (1 minute) + * Idle time before stopping the foreground notfication (5 minutes) */ - private static final int IDLE_DELAY = 60000; + private static final int IDLE_DELAY = 5 * 60 * 1000; /** * Song play time used as threshold for rewinding to the beginning of the -- 2.11.0