[Addon Setting App] Uninstallation from device 77/213877/2
authorhyunduk.kim <hyunduk.kim@samsung.com>
Mon, 16 Sep 2019 06:23:59 +0000 (15:23 +0900)
committerhyunduk.kim <hyunduk.kim@samsung.com>
Tue, 17 Sep 2019 05:53:57 +0000 (22:53 -0700)
commitd7ab2ebd4e79052725bc06cb462e7c230d67abbb
tree3d0970169dbd2e04f2468b46478c306724187629
parent5d573b9dadbd512fae8ac628478d367e1d02d1dd
[Addon Setting App] Uninstallation from device

 When user selects 'X' button for unistallation,
 it not only removes the addon from addon DB file
 but also unistalls the addon package from device.

 - Handle pkgid(package id) field for each installed addon
 - The pkgid is passed to wrtjs when user selects to uninstall
 - WRTjs eventually invokes package manager API to uninstall
   the addon package as you can see in [1] and [2]
 - To use the package manager API, this app needs to have
   privilege http://tizen.org/privilege/packagemanager.install
   and also be packed to wgt with platform privilege level

 [1] https://review.tizen.org/gerrit/213786
 [2] https://review.tizen.org/gerrit/213787

Change-Id: I547ea9a3aea8487a5759c1886435911819b7491c
Signed-off-by: hyunduk.kim <hyunduk.kim@samsung.com>
addon_setting_app/config.xml
addon_setting_app/src/extension_manager.js