aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/sysactivity
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2012-09-03 15:24:12 +0000
committerDamian Minkov <damencho@jitsi.org>2012-09-03 15:24:12 +0000
commit51d8e560d0fa23a3143cff0f4ebd8b894e3db235 (patch)
tree5aa8217c325a568d072a2a49115893a66817e2cb /src/net/java/sip/communicator/impl/sysactivity
parent2836fe726f7d106c9bac9e3ae474e4c59d5b4c35 (diff)
downloadjitsi-51d8e560d0fa23a3143cff0f4ebd8b894e3db235.zip
jitsi-51d8e560d0fa23a3143cff0f4ebd8b894e3db235.tar.gz
jitsi-51d8e560d0fa23a3143cff0f4ebd8b894e3db235.tar.bz2
Changes extracting auto away configurations.
Diffstat (limited to 'src/net/java/sip/communicator/impl/sysactivity')
-rw-r--r--src/net/java/sip/communicator/impl/sysactivity/SystemActivityNotificationsServiceImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/sysactivity/SystemActivityNotificationsServiceImpl.java b/src/net/java/sip/communicator/impl/sysactivity/SystemActivityNotificationsServiceImpl.java
index f7b7a78..e8891ad 100644
--- a/src/net/java/sip/communicator/impl/sysactivity/SystemActivityNotificationsServiceImpl.java
+++ b/src/net/java/sip/communicator/impl/sysactivity/SystemActivityNotificationsServiceImpl.java
@@ -186,7 +186,8 @@ public class SystemActivityNotificationsServiceImpl
{
synchronized (idleChangeListeners)
{
- if (!idleChangeListeners.containsKey(listener))
+ if (idleTime > 0
+ && !idleChangeListeners.containsKey(listener))
idleChangeListeners.put(listener, idleTime);
}
}