(savedInstanceState: android.os.Bundle)
| 16 | // init must at least be defined |
| 17 | }, |
| 18 | onCreate(savedInstanceState: android.os.Bundle): void { |
| 19 | Application.android.init(this.getApplication()); |
| 20 | |
| 21 | // Set isNativeScriptActivity in onCreate. |
| 22 | // The JS constructor might not be called because the activity is created from Android. |
| 23 | this.isNativeScriptActivity = true; |
| 24 | |
| 25 | if (!this._callbacks) { |
| 26 | setActivityCallbacks(this); |
| 27 | } |
| 28 | |
| 29 | this._callbacks.onCreate(this, savedInstanceState, this.getIntent(), superProto.onCreate); |
| 30 | }, |
| 31 | |
| 32 | onNewIntent(intent: android.content.Intent): void { |
| 33 | this._callbacks.onNewIntent(this, intent, superProto.setIntent, superProto.onNewIntent); |
nothing calls this directly
no test coverage detected