From a51b11bd2b361e317c0afb6122253645581635a4 Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Tue, 10 Sep 2019 17:38:58 +0900 Subject: [PATCH] Fix db mode for appsvc.db Change-Id: Id13fe1bc391d855526ea143d22adf362f1d937fd Signed-off-by: Junghoon Park --- src/service_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service_db.c b/src/service_db.c index 45682dc..0fc0f6e 100644 --- a/src/service_db.c +++ b/src/service_db.c @@ -734,7 +734,7 @@ static int __alias_info_get_appid(const char *alias_appid, uid_t uid, sqlite3 *db; int ret; - db = __open_app_svc_db(db_uid, false); + db = __open_app_svc_db(db_uid, true); if (!db) return -1; @@ -912,7 +912,7 @@ static int __alias_info_enable(const char *appid, uid_t uid, uid_t db_uid, sqlite3 *db; int ret; - db = __open_app_svc_db(db_uid, true); + db = __open_app_svc_db(db_uid, false); if (!db) return -1; -- 2.7.4