diff options
author | Ilho Kim <ilho159.kim@samsung.com> | 2021-08-24 12:15:11 +0900 |
---|---|---|
committer | Ilho Kim <ilho159.kim@samsung.com> | 2021-08-24 16:34:41 +0900 |
commit | 71817abdb0f81e58ddde0a982c7af7105581076f (patch) | |
tree | 9a309f20c5e528a0102fcb996a9377daa037bf09 | |
parent | 61c872a9342f83acc72396122157754aedcba809 (diff) | |
download | slp-pkgmgr-71817abdb0f81e58ddde0a982c7af7105581076f.tar.gz slp-pkgmgr-71817abdb0f81e58ddde0a982c7af7105581076f.tar.bz2 slp-pkgmgr-71817abdb0f81e58ddde0a982c7af7105581076f.zip |
Add resource create dir request type
Change-Id: Ibbd0df68807db0c262b89b308abed3ec81a4fccf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
-rw-r--r-- | client/src/pkgmgr_client_connection.c | 3 | ||||
-rw-r--r-- | installer/pkgmgr_installer.c | 2 | ||||
-rw-r--r-- | installer/pkgmgr_installer_type.h | 5 |
3 files changed, 7 insertions, 3 deletions
diff --git a/client/src/pkgmgr_client_connection.c b/client/src/pkgmgr_client_connection.c index 0832097..a2e161f 100644 --- a/client/src/pkgmgr_client_connection.c +++ b/client/src/pkgmgr_client_connection.c @@ -291,7 +291,8 @@ static void __signal_handler(GDBusConnection *conn, const gchar *sender_name, __handle_pkg_signal(signal_name, parameters, user_data); } else if (!strcmp(signal_name, PKGMGR_INSTALLER_RES_COPY_EVENT_STR) || !strcmp(signal_name, PKGMGR_INSTALLER_RES_REMOVE_EVENT_STR) || - !strcmp(signal_name, PKGMGR_INSTALLER_RES_UNINSTALL_EVENT_STR)) { + !strcmp(signal_name, PKGMGR_INSTALLER_RES_UNINSTALL_EVENT_STR) || + !strcmp(signal_name, PKGMGR_INSTALLER_RES_CREATE_DIR_EVENT_STR)) { __handle_res_copy_event_signal(signal_name, parameters, user_data); } } diff --git a/installer/pkgmgr_installer.c b/installer/pkgmgr_installer.c index 30936f7..ea7cc3e 100644 --- a/installer/pkgmgr_installer.c +++ b/installer/pkgmgr_installer.c @@ -182,6 +182,8 @@ static const char *__get_signal_name(pkgmgr_installer *pi, const char *key, return PKGMGR_INSTALLER_GET_SIZE_KEY_STR; case PKGMGR_REQ_RES_COPY: return PKGMGR_INSTALLER_RES_COPY_EVENT_STR; + case PKGMGR_REQ_RES_CREATE_DIR: + return PKGMGR_INSTALLER_RES_CREATE_DIR_EVENT_STR; case PKGMGR_REQ_RES_REMOVE: return PKGMGR_INSTALLER_RES_REMOVE_EVENT_STR; case PKGMGR_REQ_RES_UNINSTALL: diff --git a/installer/pkgmgr_installer_type.h b/installer/pkgmgr_installer_type.h index 7065f1e..9463fce 100644 --- a/installer/pkgmgr_installer_type.h +++ b/installer/pkgmgr_installer_type.h @@ -86,8 +86,9 @@ enum { PKGMGR_REQ_MIGRATE_EXTIMG = 18, PKGMGR_REQ_RECOVER_DB = 19, PKGMGR_REQ_RES_COPY = 20, - PKGMGR_REQ_RES_REMOVE = 21, - PKGMGR_REQ_RES_UNINSTALL = 22 + PKGMGR_REQ_RES_CREATE_DIR = 21, + PKGMGR_REQ_RES_REMOVE = 22, + PKGMGR_REQ_RES_UNINSTALL = 23 }; enum { |