mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ReaderActivityIndicator: Oh god, my eyes, they buuuuurn.
Make this a real boy, with a transient lipc handle. And get rid of the insane 1s sleep on affected ReaderView paints, because ouchy. This is completely deprecated anyway, so this is entirely pointless, and mainly to prevent implementation details from creeping into reader.lua.
This commit is contained in:
@@ -334,9 +334,6 @@ local function exitReader()
|
||||
end
|
||||
end
|
||||
|
||||
local ReaderActivityIndicator =
|
||||
require("apps/reader/modules/readeractivityindicator")
|
||||
|
||||
-- Save any device settings before closing G_reader_settings
|
||||
Device:saveSettings()
|
||||
|
||||
@@ -344,9 +341,6 @@ local function exitReader()
|
||||
G_reader_settings:saveSetting("closed_rotation_mode", Device.orig_rotation_mode or Device.screen:getRotationMode())
|
||||
G_reader_settings:close()
|
||||
|
||||
-- Close lipc handles
|
||||
ReaderActivityIndicator:coda()
|
||||
|
||||
-- Restore initial inversion state
|
||||
Device.screen:setHWNightmode(hw_nightmode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user