mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: unmark startActivity as deprecated (#5405)
https://github.com/NativeScript/NativeScript/issues/5307
This commit is contained in:
@@ -370,12 +370,12 @@ export class AndroidApplication extends Observable {
|
|||||||
foregroundActivity: any /* android.app.Activity */;
|
foregroundActivity: any /* android.app.Activity */;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* [Deprecated. Please use the respective event instead.] Please use foregroundActivity property.
|
* Deprecated. Please use startActivity, foregroundActivity or context property.
|
||||||
*/
|
*/
|
||||||
currentContext: any /* android.content.Context */;
|
currentContext: any /* android.content.Context */;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* [Deprecated. Please use foregroundActivity or activity related events instead.] The main (start) Activity for the application.
|
* The main (start) Activity for the application.
|
||||||
*/
|
*/
|
||||||
startActivity: any /* android.app.Activity */;
|
startActivity: any /* android.app.Activity */;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user