Mercurial > libervia-desktop-kivy
changeset 65:1c738621bc8d
core: on_pause/on_resume handling (needed for Android)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Dec 2016 23:10:43 +0100 |
parents | 8e16abcadbb8 |
children | 94013a9481db |
files | src/cagou/core/cagou_main.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cagou/core/cagou_main.py Tue Dec 13 23:10:43 2016 +0100 +++ b/src/cagou/core/cagou_main.py Tue Dec 13 23:10:43 2016 +0100 @@ -226,6 +226,12 @@ """ return os.path.expanduser(path).format(*args, media=self.host.media_dir, **kwargs) + def on_pause(self): + return True + + def on_resume(self): + pass + class Cagou(QuickApp): MB_HANDLE = False