[Custom handler] Remove custom handlers during uninstall
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Tue, 18 Dec 2012 10:15:53 +0000 (11:15 +0100)
committerGerrit Code Review <gerrit2@kim11>
Mon, 7 Jan 2013 16:15:28 +0000 (01:15 +0900)
commit07de4738131b81aba77df0ef2623649e81d6dbf7
treeef29313e47a1a2796dbd106d6ee2f5777b35df53
parent0986f4f4a61a24d7bc0cdbdf32cf49457ed6238a
[Custom handler] Remove custom handlers during uninstall

[Issue#] N/A
[Problem] Custom handlers are not removed when widget is uninstalled.
[Cause] N/A
[Solution] Added new job to uninstall process: remove from appsvc and
from custom handlers db.
[ScmRequest] wrt-commons
Depends on: https://tizendev.org/gerrit/#/c/22499/
[Verification] Install custom_handlers.wgt from manual tests
from wrt-extra. Run widget, register protocol and content handlers.
Uninstall widget. Check if widget is removed from database (wrt_custom_handlers.db
and appsvc.db)

Change-Id: I2c84086f47c7f9ffcfa80905d16d10148dc90d48
packaging/wrt-installer.spec
src/CMakeLists.txt
src/jobs/widget_uninstall/job_widget_uninstall.cpp
src/jobs/widget_uninstall/task_remove_custom_handlers.cpp [new file with mode: 0644]
src/jobs/widget_uninstall/task_remove_custom_handlers.h [new file with mode: 0644]