Author: bklaas
Date: Thu Oct  7 12:51:55 2010
New Revision: 9156

URL: http://svn.slimdevices.com/jive?rev=9156&view=rev
Log:
Fixed Bug: 16593
Description: always go to soft on after boot, regardless of saved state


Modified:
    
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua

Modified: 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua?rev=9156&r1=9155&r2=9156&view=diff
==============================================================================
--- 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua 
(original)
+++ 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Playback/PlaybackMeta.lua 
Thu Oct  7 12:51:55 2010
@@ -101,13 +101,9 @@
        end
        --must defer this since skin isn't loaded yet
        jiveMain:registerPostOnScreenInit(      function()
-                                                       --always start on, 
unless was unclean shutdown, then start up with saved state
-                                                       if 
appletManager:callService("wasLastShutdownUnclean") then
-                                                               log:info("Last 
shutdown was unclean, restarting with previous soft power state: ", 
settings.powerState)
-                                                               
jiveMain:setSoftPowerState(settings.powerState)
-                                                       else
-                                                               
jiveMain:setSoftPowerState("on")
-                                                       end
+                                                       --Bug 16593: always 
start on, even if soft power state was off when shutdown
+                                                       -- this is to avoid a 
situation where a Radio powers up to a black screen (fallback whenOff SS when 
clock is not set)
+                                                       
jiveMain:setSoftPowerState("on")
                                                end)
        
        -- Connect player

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

Reply via email to