mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
feat: support intent replacement in the android activity (#5337)
This commit is contained in:

committed by
Alexander Vakrilov

parent
e69af8dda9
commit
01fab68e58
@ -28,6 +28,11 @@ class NativeScriptActivity extends android.app.Activity {
|
|||||||
this._callbacks.onCreate(this, savedInstanceState, super.onCreate);
|
this._callbacks.onCreate(this, savedInstanceState, super.onCreate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected onNewIntent(intent: android.content.Intent): void {
|
||||||
|
super.onNewIntent(intent);
|
||||||
|
super.setIntent(intent);
|
||||||
|
}
|
||||||
|
|
||||||
protected onSaveInstanceState(outState: android.os.Bundle): void {
|
protected onSaveInstanceState(outState: android.os.Bundle): void {
|
||||||
this._callbacks.onSaveInstanceState(this, outState, super.onSaveInstanceState);
|
this._callbacks.onSaveInstanceState(this, outState, super.onSaveInstanceState);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user