From c89f668a5427db2f18c7b39e528abf7f1c792181 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Fri, 10 Mar 2023 11:52:24 +0800 Subject: [PATCH] update doc Signed-off-by: shawn_he --- en/application-dev/reference/apis/js-apis-system-brightness.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-system-brightness.md b/en/application-dev/reference/apis/js-apis-system-brightness.md index bfe2cb2960..94b06d824b 100644 --- a/en/application-dev/reference/apis/js-apis-system-brightness.md +++ b/en/application-dev/reference/apis/js-apis-system-brightness.md @@ -132,7 +132,7 @@ Sets the screen brightness adjustment mode. setKeepScreenOn(options?: SetKeepScreenOnOptions): void -> NOTE +> NOTE
> This API is no longer maintained since API version 7. It is recommended that you use [window.setKeepScreenOn](js-apis-window.md#setkeepscreenon) instead. Sets whether to always keep the screen on. Call this API in **onShow()**. -- GitLab