mirror of
https://github.com/openharmony/notification_notification_cangjie_wrapper.git
synced 2026-07-01 06:41:51 -04:00
merge master into master
fix lines
Created-by: atreeof_wind
Commit-by: atreeof_wind
Merged-by: openharmony_ci
Description: ### 一、内容说明(相关的Issue)
### 二、建议测试周期和提测地址
建议测试完成时间:xxxx.xx.xx
投产上线时间:xxxx.xx.xx
提测地址:CI环境/压测环境
测试账号:
### 三、变更内容
* 3.1 关联PR列表
* 3.2 数据库和部署说明
1. 常规更新
2. 重启unicorn
3. 重启sidekiq
4. 迁移任务:是否有迁移任务,没有写 "无"
5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"
* 3.4 其他技术优化内容(做了什么,变更了什么)
- 重构了 xxxx 代码
- xxxx 算法优化
* 3.5 废弃通知(什么字段、方法弃用?)
* 3.6 后向不兼容变更(是否有无法向后兼容的变更?)
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
自测测试结论:
### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
检查点:
| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|------|------------|----------|---------------|
| xxx | 否 | 需要 | 不需要 |
| | | | |
接口测试:
性能测试:
并发测试:
其他:
See merge request: openharmony-sig/notification_notification_cangjie_wrapper!28
This commit is contained in:
@@ -47,7 +47,8 @@ public class CommonEventData {
|
||||
public var bundleName: String
|
||||
/**
|
||||
* Common event data received by the subscriber. The value of this field is the same as that of the code field in
|
||||
* CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default value is 0.
|
||||
* CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default
|
||||
* value is 0.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
@@ -65,7 +66,8 @@ public class CommonEventData {
|
||||
public var data: String
|
||||
/**
|
||||
* Additional information about the common event received by the subscriber. The value of this field is the same as
|
||||
* that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event.
|
||||
* that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to
|
||||
* publish a common event.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
|
||||
@@ -29,7 +29,8 @@ public import ohos.common_event_subscriber.CommonEventSubscriber
|
||||
public import ohos.value_type.ValueType
|
||||
|
||||
/**
|
||||
* The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe to, and unsubscribe from common events.
|
||||
* The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe
|
||||
* to, and unsubscribe from common events.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
|
||||
@@ -71,7 +71,8 @@ public class CommonEventPublishData {
|
||||
]
|
||||
public var isOrdered: Bool
|
||||
/**
|
||||
* Whether the common event is a sticky one. Only system applications and system services are allowed to send sticky events.
|
||||
* Whether the common event is a sticky one. Only system applications and system services are allowed to
|
||||
* send sticky events.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
|
||||
@@ -78,7 +78,8 @@ public class CommonEventSubscribeInfo {
|
||||
]
|
||||
public var events: Array<String>
|
||||
/**
|
||||
* Subscriber priority. The value ranges from –100 to +1000. If the value exceeds the upper or lower limit, the upper or lower limit is used.
|
||||
* Subscriber priority. The value ranges from –100 to +1000. If the value exceeds the upper or lower limit, the
|
||||
* upper or lower limit is used.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
@@ -86,8 +87,9 @@ public class CommonEventSubscribeInfo {
|
||||
]
|
||||
public var priority: Int32
|
||||
/**
|
||||
* User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be used.
|
||||
* The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account ID and use it as the user ID of the subscriber.
|
||||
* User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be
|
||||
* used.The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account
|
||||
* ID and use it as the user ID of the subscriber.
|
||||
*/
|
||||
@!APILevel[
|
||||
22,
|
||||
|
||||
Reference in New Issue
Block a user