more event fixes

This commit is contained in:
Vladimir Enchev
2015-06-01 17:23:46 +03:00
parent a3070bef83
commit 5c130e45ce
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ global.__onUncaughtError = function (error: Error) {
exports.onUncaughtError(nsError);
exports.notify({ eventName: dts.uncaughtErrorEvent, object: appModule.android, android: error });
exports.notify({ eventName: dts.uncaughtErrorEvent, object: appModule.android, android: nsError });
}
exports.start = function () {

View File

@ -495,7 +495,7 @@ var NativeActivity = {
java.lang.System.gc();
this.super.onLowMemory();
application.notify(<application.ApplicationEventData>{ eventName: application.lowMemoryEvent, object: this });
application.notify(<application.ApplicationEventData>{ eventName: application.lowMemoryEvent, object: this, android: this });
},
onTrimMemory: function (level: number) {