Add send signal if there is not enough memory during web app installation
authorSoyoung Kim <sy037.kim@samsung.com>
Fri, 13 Sep 2013 13:38:53 +0000 (22:38 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Wed, 30 Oct 2013 02:22:06 +0000 (11:22 +0900)
commit0b3c503a2f496bd30b1d7b27872ca1c73780e4fb
treeea726940bab0671ef1e3da1530c0c6b40d5522cb
parentc19a6f7db96ed8f39eb74ebb2250ffec5a0b278a
Add send signal if there is not enough memory during web app installation

[Issue#]   WGL-299
[Problem]  Unable to get low memory popup when installing widgets.
[Cause]    There is no way to send out of memory signal to package manager.
[Solution]
    1. Add step to check condition of low memory before unzip.
    2. Add to send signal low memory if there aren't enough memory.

[SCMRequest] Depends on https://review.tizendev.org/gerrit/#/c/90132/
[Verification] Check the steps described in http://goo.gl/mgATi1

Change-Id: I57ee5dc4d981a6ecdc54759fd7bdb0ee36e87935
13 files changed:
src/jobs/widget_install/job_widget_install.cpp
src/jobs/widget_install/job_widget_install.h
src/jobs/widget_install/task_manifest_file.cpp
src/jobs/widget_install/widget_install_errors.h
src/jobs/widget_install/widget_unzip.cpp
src/jobs/widget_install/widget_unzip.h
src/logic/installer_controller.cpp
src/logic/installer_controller.h
src/logic/installer_logic.cpp
src/logic/installer_logic.h
src/wrt-installer/wrt-installer.cpp
src/wrt-installer/wrt_installer_api.cpp
src/wrt-installer/wrt_installer_api.h