mirror of
https://gitee.com/openharmony/applications_systemui
synced 2025-02-16 05:58:30 +00:00
!444 I8S42V,稳定性问题整改,栈名:notificationSlotSet
Merge pull request !444 from 王环/master
This commit is contained in:
commit
41b79962ba
@ -234,7 +234,12 @@ export default struct SlotSetting {
|
||||
}
|
||||
|
||||
notificationSlotSet() {
|
||||
Log.showDebug(TAG, `notificationSlotSet slotInfo:${JSON.stringify(this.slotInfo)}`)
|
||||
Log.showDebug(TAG, `notificationSlotSet slotInfo:${JSON.stringify(this.slotInfo)}`);
|
||||
if (this.appInfo.appBundleName == null || this.slotInfo == null) {
|
||||
Log.showError(TAG, `notificationSlotSet, invalid parameter, bundle: ${this.appInfo?.appBundleName} ` +
|
||||
`uid: ${this.appInfo?.appUid}`);
|
||||
return;
|
||||
}
|
||||
NotificationListener.notificationSlotSet({ bundle: this.appInfo.appBundleName, uid: this.appInfo.appUid }, this.slotInfo);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user