Fix installation of widgets with defaultlocale
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Tue, 8 Oct 2013 10:01:16 +0000 (12:01 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 15 Oct 2013 08:08:52 +0000 (08:08 +0000)
commitf866e860f6d06d147662ee9b7d46120405057cf0
tree4aa9e37256943f889e2804cc686c64d902d33f20
parenta4d3b8401e5425875d36c911dc126f3a13f6d989
Fix installation of widgets with defaultlocale

[Issue#]   WGL-560, WGL-563
[Problem]  Installation of test widgets (with defaultlocale attribute in
configuration file) fails
[Cause] Installer application does not have access to WRT I18N DB and
backendlib does not attach to WRT I18N DB
[Solution] Restore LanguageSubtagRstTreeSingleton used for checking
language tag validity

[Verification]
1. Build repository
2. Run test widgets from WGL-560
(https://bugs.tizendev.org/jira/browse/WGL-560)

[SCMRequest] Depends on: https://review.tizendev.org/gerrit/92271

Change-Id: I3c8d97e62c5f292b00b71874fe73a56aaedbea44
src/configuration_parser/widget_parser.cpp
src/pkg-manager/CMakeLists.txt
src/wrt-installer/CMakeLists.txt
src/wrt-installer/wrt_installer_api.cpp