mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
UIManager: get rid of self._running and self._run_forever (#9669)
This commit is contained in:
@@ -9,7 +9,7 @@ describe("BackgroundTaskPlugin", function()
|
||||
MockTime:install()
|
||||
local Device = require("device")
|
||||
Device.input.waitEvent = function() end
|
||||
UIManager._run_forever = true
|
||||
UIManager:setRunForeverMode()
|
||||
requireBackgroundRunner()
|
||||
-- Monkey patch this method to notify BackgroundRunner
|
||||
-- as it is not accessible to UIManager in these tests
|
||||
|
||||
Reference in New Issue
Block a user