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:
NiLuJe
2023-08-12 01:04:03 +02:00
parent ac1358e0f0
commit 4acf131071
2 changed files with 5 additions and 11 deletions

View File

@@ -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)