From 40022b7cd68101ef45f5f64566bd43ac9892c629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=BA=B7=E5=BA=B7?= Date: Thu, 21 Jul 2022 19:50:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 廖康康 --- frameworks/ans/src/reminder_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ans/src/reminder_store.cpp b/frameworks/ans/src/reminder_store.cpp index 1cd8e95dc..89a342bbf 100644 --- a/frameworks/ans/src/reminder_store.cpp +++ b/frameworks/ans/src/reminder_store.cpp @@ -29,7 +29,7 @@ namespace OHOS { namespace Notification { namespace { -const std::string REMINDER_DB_DIR = "/data/system_ce/ans_standard/"; +const std::string REMINDER_DB_DIR = "/data/service/el1/public/notification/reminder_agent/"; const std::string REMINDER_DB_NAME = "reminder.db"; const std::string REMINDER_DB_TABLE = "reminder"; const uint32_t REMINDER_RDB_VERSION = 1; -- Gitee From a5e79a3c7ba087a74e7f401af22e65eb2a9e4075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=BA=B7=E5=BA=B7?= Date: Sat, 30 Jul 2022 11:41:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 廖康康 --- frameworks/ans/src/reminder_store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/ans/src/reminder_store.cpp b/frameworks/ans/src/reminder_store.cpp index 89a342bbf..0fce2c8bc 100644 --- a/frameworks/ans/src/reminder_store.cpp +++ b/frameworks/ans/src/reminder_store.cpp @@ -29,8 +29,8 @@ namespace OHOS { namespace Notification { namespace { -const std::string REMINDER_DB_DIR = "/data/service/el1/public/notification/reminder_agent/"; -const std::string REMINDER_DB_NAME = "reminder.db"; +const std::string REMINDER_DB_DIR = "/data/service/el1/public/notification/"; +const std::string REMINDER_DB_NAME = "notification.db"; const std::string REMINDER_DB_TABLE = "reminder"; const uint32_t REMINDER_RDB_VERSION = 1; const int32_t STATE_FAIL = -1; -- Gitee