Skip to content

Commit

Permalink
manual idle lock is not supported on first gen
Browse files Browse the repository at this point in the history
Firmware less than 4.8 will be idle locked on screen saver. If the
screen saver is disabled, there will be no idle locking feature.
  • Loading branch information
ljunkie committed Jan 20, 2015
1 parent 5c56822 commit 97b408e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plex/source/ViewController.brs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ End Sub
Function vcProcessOneMessage(timeout)
if RegRead("screensaverActivated") <> invalid then
m.OnScreensaver()
else if GetGlobal("roDeviceInfo").TimeSinceLastKeyPress() > GetGlobal("plexIdleTimeout") then
else if CheckMinimumVersion(GetGlobal("rokuVersionArr", [0]), [4, 8]) and GetGlobal("roDeviceInfo").TimeSinceLastKeyPress() > GetGlobal("plexIdleTimeout") then
m.CreateLockScreen()
end if

Expand Down

0 comments on commit 97b408e

Please sign in to comment.