From 4dcfddf08a939dbbf12182679d55910b50364c70 Mon Sep 17 00:00:00 2001 From: "yu.xu" Date: Sat, 26 Feb 2022 19:22:23 +0800 Subject: [PATCH] Update thermal level change for @ohos.commonEvent.d.ts Signed-off-by: yu.xu --- api/@ohos.commonEvent.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index e9b04424dc..58be913459 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -170,6 +170,12 @@ declare namespace commonEvent { */ COMMON_EVENT_SCREEN_ON = "usual.event.SCREEN_ON", + /** + * this commonEvent means when the thermal state level change + * @since 8 + */ + COMMON_EVENT_THERMAL_LEVEL_CHANGED = "usual.event.THERMAL_LEVEL_CHANGED", + /** * this commonEvent means when the user is present after the device waked up. */ -- Gitee