2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

Merge pull request #805 from WS64/master

Full refresh after suspend
This commit is contained in:
Huang Xin 2014-08-16 07:02:51 +08:00
commit 73d0297ce5

View File

@ -216,7 +216,7 @@ end
function Device:Resume() -- currently only used for kobo devices function Device:Resume() -- currently only used for kobo devices
os.execute("echo 0 > /sys/power/state-extended") os.execute("echo 0 > /sys/power/state-extended")
self.screen:refresh(0) self.screen:refresh(1)
local powerd = self:getPowerDevice() local powerd = self:getPowerDevice()
if powerd ~= nil then if powerd ~= nil then
powerd.fl:restore() powerd.fl:restore()