Change Application and NativeActivity classes to accommodate android runtime changes.

This commit is contained in:
hshristov
2015-05-29 11:53:54 +03:00
parent 534e800b2f
commit a8a8c77e5a
2 changed files with 40 additions and 46 deletions

View File

@@ -98,7 +98,8 @@ var initEvents = function () {
}
app.init({
getActivity: function (intent: android.content.Intent) {
getActivity: function (activity: android.app.Activity) {
var intent = activity.getIntent()
return exports.android.getActivity(intent);
},