From fd23c91d0eebd602a1ef60f83cae2f3878a41664 Mon Sep 17 00:00:00 2001 From: SongChunPeng Date: Tue, 9 Sep 2025 16:01:24 +0800 Subject: [PATCH] fix camera beauty notification Signed-off-by: SongChunPeng --- dynamic_libs/camera_notification/src/camera_notification.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic_libs/camera_notification/src/camera_notification.cpp b/dynamic_libs/camera_notification/src/camera_notification.cpp index 917d6967e..4e8f36bd6 100644 --- a/dynamic_libs/camera_notification/src/camera_notification.cpp +++ b/dynamic_libs/camera_notification/src/camera_notification.cpp @@ -57,6 +57,7 @@ int32_t CameraNotification::PublishBeautyNotification(bool isRecordTimes, int32_ request.SetSlotType(OHOS::Notification::NotificationConstant::SlotType::SOCIAL_COMMUNICATION); request.SetNotificationId(BEAUTY_NOTIFICATION_ID); request.SetGroupName(BEAUTY_NOTIFICATION_GROUP_NAME); + request.SetUnremovable(true); uint32_t baseFlag = BEAUTY_NOTIFICATION_CLOSE_SOUND_FLAG | BEAUTY_NOTIFICATION_CLOSE_VIBRATION_FLAG | BEAUTY_NOTIFICATION_LOCKSCREEN_FLAG; -- Gitee