Modify uninstall steps in case app is installed on an external memory
authorsung-su.kim <sung-su.kim@samsung.com>
Mon, 7 Oct 2013 09:21:23 +0000 (18:21 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Tue, 8 Oct 2013 06:06:57 +0000 (06:06 +0000)
commita04df4d806c9fc4c5ea9b4ddb750a4e99aef615a
tree6dec409d5b4c51c0a2364436516876b9f1130984
parent8d794299b9d43f783957a24d9ec8f1d5a23267fd
Modify uninstall steps in case app is installed on an external memory

[Issue#]   N_SE-53790
[Problem]  Re-install fails after uninstall app which was installed on external memory.
[Cause]    When uninstalling an app on external memory, unexpected error occurred.
            : SD card isn't inserted or unmounted
           In this case, wrt-installer skips to remove directory in internal memory.
           The remaining internal directory caused "application already existed" error.
[Solution] Change uninstall work-flow.
           Before : Remove the information to only an external memory (e.g., SD card).
           After  : Remove the information on both internal and external memory.

Change-Id: If7a4fe063b80ecdb6a6f5b60f2d95bd48e9cb284
src/jobs/widget_uninstall/task_remove_files.cpp