Fix sending disable/enable pkg signal 11/88011/1
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 12 Sep 2016 12:32:59 +0000 (21:32 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 12 Sep 2016 12:32:59 +0000 (21:32 +0900)
Change-Id: I332a054b63fdd3293442a86a0aa75b9b5e147f5a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
installer/pkgmgr_installer.c

index e814bfa..6db2542 100644 (file)
@@ -111,8 +111,10 @@ static const char *__get_signal_name(pkgmgr_installer *pi, const char *key)
        case PKGMGR_REQ_INSTALL:
        case PKGMGR_REQ_MANIFEST_DIRECT_INSTALL:
        case PKGMGR_REQ_MOUNT_INSTALL:
+       case PKGMGR_REQ_ENABLE_PKG:
                return PKGMGR_INSTALLER_INSTALL_EVENT_STR;
        case PKGMGR_REQ_UNINSTALL:
+       case PKGMGR_REQ_DISABLE_PKG:
                return PKGMGR_INSTALLER_UNINSTALL_EVENT_STR;
        case PKGMGR_REQ_UPGRADE:
                return PKGMGR_INSTALLER_UPGRADE_EVENT_STR;