IssueNo: #I4R8OB

Description: fix app manager interface.
Sig: SIG_ApplicationFramework
Feature or Bugfix: Bugfix
Binary Source: No

Signed-off-by: jiangwensai <jiangwensai@huawei.com>
Change-Id: Ibc46b010f21d02251f6938724ade18744db88483
This commit is contained in:
jiangwensai 2022-01-13 07:31:55 +00:00
parent 1448ff126b
commit f0e1181d1f

View File

@ -61,6 +61,17 @@ declare namespace appManager {
*/
function getForegroundApplications(callback: AsyncCallback<Array<AppStateData>>): void;
function getForegroundApplications(): Promise<Array<AppStateData>>;
/**
* Is user running in stability test.
*
* @devices phone, tablet, tv, wearable, car
* @since 8
* @SysCap appexecfwk
* @return Returns true if user is running stability test.
*/
function isRunningInStabilityTest(callback: AsyncCallback<boolean>): void;
function isRunningInStabilityTest(): Promise<boolean>;
}
export default appManager;