From 9b70127f4e8e38af5d7ab09d7cbb5f37998a90cd Mon Sep 17 00:00:00 2001 From: Georgi Atanasov Date: Wed, 1 Apr 2015 19:38:56 +0300 Subject: [PATCH] Fix an issue with the removed Property in the Android Runtime. --- application/application.android.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/application.android.ts b/application/application.android.ts index eaec6ec59..aca81c8e1 100644 --- a/application/application.android.ts +++ b/application/application.android.ts @@ -175,7 +175,7 @@ class AndroidApplication implements dts.AndroidApplication { //} public getActivity(intent: android.content.Intent): Object { - if (intent && intent.Action === android.content.Intent.ACTION_MAIN) { + if (intent && intent.getAction() === android.content.Intent.ACTION_MAIN) { // application's main activity if (exports.onLaunch) { exports.onLaunch(intent); @@ -226,4 +226,4 @@ global.__onUncaughtError = function (error: Error) { exports.start = function () { dts.loadCss(); -} \ No newline at end of file +}