diff --git a/api/@ohos.application.appManager.d.ts b/api/@ohos.application.appManager.d.ts index f8428c4c8218fbd76e2f8e327c3087340e3c8a74..db2115cb512feef227ce5276faa905814a8707b2 100644 --- a/api/@ohos.application.appManager.d.ts +++ b/api/@ohos.application.appManager.d.ts @@ -61,6 +61,17 @@ declare namespace appManager { */ function getForegroundApplications(callback: AsyncCallback>): void; function getForegroundApplications(): Promise>; + + /** + * 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): void; + function isRunningInStabilityTest(): Promise; } export default appManager;