mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Android: Don't forget to call Generic.exit on Device:exit ;).
Fix #11345
This commit is contained in:
@@ -460,6 +460,8 @@ function Device:test()
|
||||
end
|
||||
|
||||
function Device:exit()
|
||||
Generic.exit(self)
|
||||
|
||||
android.LOGI(string.format("Stopping %s main activity", android.prop.name))
|
||||
android.lib.ANativeActivity_finish(android.app.activity)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user