From 02ad6d803efa984eee14817c1f803803bf999a83 Mon Sep 17 00:00:00 2001 From: wangyb0408 Date: Mon, 13 Jun 2022 16:02:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?IssueNo:=20JS=E5=B9=BF=E6=92=AD=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: STK和运营商需求广播通知在JS的定义支持 Sig: SIG_Telephony Feature or Bugfix: Feature Binary Source: No Change-Id: I74f96ceb8ddd27c90b3219142746c5912719058a --- api/@ohos.commonEvent.d.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index 7826cee6e6..07d8ce96c3 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -966,6 +966,41 @@ declare namespace commonEvent { * @since 9 */ COMMON_EVENT_SLOT_CHANGE = "usual.event.SLOT_CHANGE" + + /** + * Indicate the action of a common event that a STK command has been received by the device. + * This common event can be triggered only by system. + * @since 8 + */ + COMMON_EVENT_STK_COMMAND = "usual.event.STK_COMMAND", + + /** + * Indicate the action of a common event that STK session end. + * This common event can be triggered only by system. + * @since 8 + */ + COMMON_EVENT_STK_SESSION_END = "usual.event.STK_SESSION_END", + + /** + * Indicate the action of a common event that the STK phone card state has changed. + * This common event can be triggered only by system. + * @since 8 + */ + COMMON_EVENT_STK_CARD_STATE_CHANGED = "usual.event.STK_CARD_STATE_CHANGED", + + /** + * Indicate the action of a common event that an alpha string during call control has been received by the device. + * This common event can be triggered only by system. + * @since 8 + */ + COMMON_EVENT_STK_ALPHA_IDENTIFIER = "usual.event.STK_ALPHA_IDENTIFIER", + + /** + * Indicate the action of a common event that the spn display information has been updated. + * This common event can be triggered only by system. + * @since 8 + */ + COMMON_EVENT_SPN_INFO_CHANGED = "usual.event.SPN_INFO_CHANGED" } } -- Gitee From df5c9c76f738d9bd9c32a1766d14eb9d36fafbb3 Mon Sep 17 00:00:00 2001 From: ligx0104 Date: Thu, 16 Jun 2022 14:28:35 +0800 Subject: [PATCH 2/3] update ohos.commonEvent.d.ts --- api/@ohos.commonEvent.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index 07d8ce96c3..de83d08692 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -989,7 +989,7 @@ declare namespace commonEvent { COMMON_EVENT_STK_CARD_STATE_CHANGED = "usual.event.STK_CARD_STATE_CHANGED", /** - * Indicate the action of a common event that an alpha string during call control has been received by the device. + * Indicate the action of a common event that an alpha string during call control has been received by the device. * This common event can be triggered only by system. * @since 8 */ -- Gitee From 54cee36851af2c8310f7cd2a3e39f16970c3fad5 Mon Sep 17 00:00:00 2001 From: ligx0104 Date: Fri, 17 Jun 2022 20:42:12 +0800 Subject: [PATCH 3/3] update api --- api/@ohos.commonEvent.d.ts | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/api/@ohos.commonEvent.d.ts b/api/@ohos.commonEvent.d.ts index de83d08692..7b732362cc 100644 --- a/api/@ohos.commonEvent.d.ts +++ b/api/@ohos.commonEvent.d.ts @@ -967,38 +967,10 @@ declare namespace commonEvent { */ COMMON_EVENT_SLOT_CHANGE = "usual.event.SLOT_CHANGE" - /** - * Indicate the action of a common event that a STK command has been received by the device. - * This common event can be triggered only by system. - * @since 8 - */ - COMMON_EVENT_STK_COMMAND = "usual.event.STK_COMMAND", - - /** - * Indicate the action of a common event that STK session end. - * This common event can be triggered only by system. - * @since 8 - */ - COMMON_EVENT_STK_SESSION_END = "usual.event.STK_SESSION_END", - - /** - * Indicate the action of a common event that the STK phone card state has changed. - * This common event can be triggered only by system. - * @since 8 - */ - COMMON_EVENT_STK_CARD_STATE_CHANGED = "usual.event.STK_CARD_STATE_CHANGED", - - /** - * Indicate the action of a common event that an alpha string during call control has been received by the device. - * This common event can be triggered only by system. - * @since 8 - */ - COMMON_EVENT_STK_ALPHA_IDENTIFIER = "usual.event.STK_ALPHA_IDENTIFIER", - /** * Indicate the action of a common event that the spn display information has been updated. * This common event can be triggered only by system. - * @since 8 + * @since 9 */ COMMON_EVENT_SPN_INFO_CHANGED = "usual.event.SPN_INFO_CHANGED" } -- Gitee