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>
Tue, 22 Oct 2013 08:37:42 +0000 (17:37 +0900)
commit7a182e91c2ce7bbc7b325ddddee182f2b2909482
tree9739850ae3554cb13fa1d25ecc2b0f2b78b9b010
parentd743ab5289534ddfee1e93e3d9d6d606ec928af8
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: I77f468427312909a48f0989bd08ee5d6532b7571
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