mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
various application event implementation fixes
This commit is contained in:
@@ -495,7 +495,7 @@ var NativeActivity = {
|
||||
java.lang.System.gc();
|
||||
this.super.onLowMemory();
|
||||
|
||||
application.notify(<application.ApplicationEventData>{ eventName: "onLowMemory", object: this, android: undefined, ios: undefined });
|
||||
application.notify(<application.ApplicationEventData>{ eventName: application.lowMemory, object: this });
|
||||
},
|
||||
|
||||
onTrimMemory: function (level: number) {
|
||||
|
||||
Reference in New Issue
Block a user