From 9a0cc5a8e854715a904c41ac6c37bea01968d4e2 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Fri, 11 Mar 2016 20:46:18 +0900 Subject: [PATCH] - change enum value of COMM_STATUS_BROADCAST_ALL to cover enable/disable of app - remove useless code Change-Id: I7831215bbb64a55c116126606109aed8dd17a6b1 Signed-off-by: Junghyun Yeon --- comm/comm_config.h | 2 +- comm/pkgmgr_installer.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/comm/comm_config.h b/comm/comm_config.h index b61d2d3..937fa41 100644 --- a/comm/comm_config.h +++ b/comm/comm_config.h @@ -98,7 +98,7 @@ enum { /* broadcast type */ enum { - COMM_STATUS_BROADCAST_ALL = 0x3F, + COMM_STATUS_BROADCAST_ALL = 0x7F, COMM_STATUS_BROADCAST_INSTALL = 0x01, COMM_STATUS_BROADCAST_UNINSTALL = 0x02, COMM_STATUS_BROADCAST_MOVE = 0x04, diff --git a/comm/pkgmgr_installer.c b/comm/pkgmgr_installer.c index 1922769..f523476 100644 --- a/comm/pkgmgr_installer.c +++ b/comm/pkgmgr_installer.c @@ -503,9 +503,6 @@ pkgmgr_installer_send_app_signal(pkgmgr_installer *pi, return -1; } - if (strcmp(key, PKGMGR_INSTALLER_UPGRADE_EVENT_STR) == 0) - pi->request_type = PKGMGR_REQ_UPGRADE; - r = __send_signal_for_app_event(pi, pkg_type, pkgid, appid, key, val); return r; -- 2.34.1