Author: bklaas
Date: Tue Jan 19 07:30:37 2010
New Revision: 8370

URL: http://svn.slimdevices.com/jive?rev=8370&view=rev
Log:
Bug: 14870
Description: restart decodeStatePoller regardless of caller to openAlarmWindow()

Modified:
    
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua

Modified: 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua?rev=8370&r1=8369&r2=8370&view=diff
==============================================================================
--- 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
 (original)
+++ 
7.4/trunk/squeezeplay/src/squeezeplay/share/applets/AlarmSnooze/AlarmSnoozeApplet.lua
 Tue Jan 19 07:30:37 2010
@@ -377,6 +377,12 @@
        -- when the alarm time is hit, unset the wakeup mcu time
        self:_setWakeupTime('none')
 
+       if self.decodeStatePoller:isRunning() then
+               self.decodeStatePoller:restart()
+       else
+               self.decodeStatePoller:start()
+       end
+
        if caller == 'server' then
                -- if we're connected, first drop the now playing window 
underneath the alarm window
                if self.localPlayer:isConnected() then
@@ -393,13 +399,6 @@
                        -- where did we come from?
                        log:error('CALL STACK TRAP: ')
                end
-               
-               if self.decodeStatePoller:isRunning() then
-                       self.decodeStatePoller:restart()
-               else
-                       self.decodeStatePoller:start()
-               end
-
 
        elseif caller == 'rtc' then
                if self.alarmInProgress ~= 'rtc' then

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to