mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(android): suspend fix
This commit is contained in:
@@ -378,7 +378,7 @@ function initLifecycleCallbacks() {
|
||||
if ((<any>activity).isNativeScriptActivity) {
|
||||
androidApp.paused = true;
|
||||
appCommon.notify(<ApplicationEventData>{
|
||||
eventName: appCommon.backgroundEvent,
|
||||
eventName: appCommon.suspendEvent,
|
||||
object: androidApp,
|
||||
android: activity,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user