From a7712cc9e4f0451794ad7eb2685786c0f2e954e7 Mon Sep 17 00:00:00 2001 From: fhuya Date: Mon, 9 Sep 2019 14:42:17 -0700 Subject: Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. --- core/os/main_loop.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/os') diff --git a/core/os/main_loop.h b/core/os/main_loop.h index 54e61fd2fa..aca920efcb 100644 --- a/core/os/main_loop.h +++ b/core/os/main_loop.h @@ -60,6 +60,8 @@ public: NOTIFICATION_WM_ABOUT = 1011, NOTIFICATION_CRASH = 1012, NOTIFICATION_OS_IME_UPDATE = 1013, + NOTIFICATION_APP_RESUMED = 1014, + NOTIFICATION_APP_PAUSED = 1015, }; virtual void input_event(const Ref &p_event); -- cgit v1.2.3