Fix installer backend crash issue 79/118779/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 14 Mar 2017 05:00:23 +0000 (14:00 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 17 Mar 2017 08:19:53 +0000 (01:19 -0700)
commit27dd9b7cc0e01c07cd3a74474e078c7cbd9ef239
tree2bd91e8df396372048ddec36c24c329b938e8c15
parentda54240a802c47ad144dc76b36873b9e2d917ca2
Fix installer backend crash issue

- Backend has crashed with some install cases while
undo StepUpdateApplication after failed to update app.
- It caused because old manifest data doesn't set properly.
- Fix it by checking manifest before use and
not performing undo() in some update cases

Change-Id: Ib0f10f151ef8ea87ada839bb897e081f2f8ecb33
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/pkgmgr_registration.cc
src/common/step/pkgmgr/step_update_app.cc