[fix, plugin] Remove wakeup task on resume (#5502)

Should fix #5495.
pull/5504/head
Frans de Jonge 5 years ago committed by GitHub
parent 7de022a617
commit 17244cca2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,6 +126,9 @@ end
function AutoSuspend:onResume()
logger.dbg("AutoSuspend: onResume")
if self:_enabledShutdown() and Device.wakeup_mgr then
Device.wakeup_mgr:removeTask(nil, nil, UIManager.poweroff_action)
end
self:_start()
end

Loading…
Cancel
Save