mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Change Application and NativeActivity classes to accommodate android runtime changes.
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user