Splash fix 31/96531/1 accepted/tizen/common/20161125.095149 accepted/tizen/ivi/20161125.004146 accepted/tizen/mobile/20161125.003609 accepted/tizen/tv/20161125.003910 accepted/tizen/wearable/20161125.004033 submit/tizen/20161124.000829 submit/tizen_3.0/20161111.001102
authorPiotr Ganicz <p.ganicz@samsung.com>
Wed, 9 Nov 2016 07:21:32 +0000 (08:21 +0100)
committerPiotr Ganicz <p.ganicz@samsung.com>
Wed, 9 Nov 2016 08:26:41 +0000 (09:26 +0100)
That commit resolves issue with ManifestParse error.
It was mistake in function that check if both launch and splash
screen are defined (the return value was unnecessarily negated).

Change-Id: I3b023b8caa6930b7758d63e791d66db48287c935

src/wgt_manifest_handlers/widget_config_parser.cc

index 0c2c28287df151574ca2e77a076253462fbe9f4b..c03846a293154a59a61bbfcf683086da8810b2f6 100644 (file)
@@ -100,8 +100,8 @@ void WidgetConfigParser::ContentTypeSetIfEmpty() {
 }
 
 bool WidgetConfigParser::CheckSplashAndLaunchScreenOccurences() {
-    return !(parser_->GetManifestData(SplashScreenInfo::Key()) &&
-        parser_->GetManifestData(LaunchScreenInfo::Key()));
+    return parser_->GetManifestData(SplashScreenInfo::Key()) &&
+        parser_->GetManifestData(LaunchScreenInfo::Key());
 }
 bool WidgetConfigParser::ParseManifest(const boost::filesystem::path& path) {
   widget_path_ = path.parent_path();