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:
1 parent
ac1358e0f0
commit
4acf131071
2 files changed
+5
-11
No files matched your search
@@ -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