diff --git a/frameworks/ets/ets/notification/notificationRequest.ets b/frameworks/ets/ets/notification/notificationRequest.ets index bc23d7d713d9880bdfe3f69b29b018f79b9420af..8353d1c1272c2a4f19947e2edfb40f89666b2c8a 100644 --- a/frameworks/ets/ets/notification/notificationRequest.ets +++ b/frameworks/ets/ets/notification/notificationRequest.ets @@ -43,8 +43,8 @@ export interface NotificationFilter { } class NotificationFilterInner implements NotificationFilter { - public bundle: BundleOption = {}; - public notificationKey: notificationSubscribe.NotificationKey = {}; + public bundle: BundleOption = {bundle: 'undefined'}; + public notificationKey: notificationSubscribe.NotificationKey = {id: 0}; public extraInfoKeys?: Array | undefined; }