Fix crash issue 95/201695/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 19 Mar 2019 02:31:49 +0000 (11:31 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 19 Mar 2019 02:32:29 +0000 (11:32 +0900)
Before calling FillExtraInfo(), FillComponentBasedApplicationInfo()
should be called.

Change-Id: Icd436417f8e05618b16f243a6cf61607251054ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/common/step/configuration/step_parse_manifest.cc

index 0a5b1e4..4bed4b9 100644 (file)
@@ -1298,6 +1298,8 @@ bool StepParseManifest::FillManifestX(manifest_x* manifest) {
     return false;
   if (!FillWatchApplication(manifest))
     return false;
+  if (!FillComponentBasedApplicationInfo(manifest))
+    return false;
   if (!FillPrivileges(manifest))
     return false;
   if (!FillProvidesAppDefinedPrivileges(manifest))
@@ -1312,8 +1314,6 @@ bool StepParseManifest::FillManifestX(manifest_x* manifest) {
     return false;
   if (!FillDependencyInfo(manifest))
     return false;
-  if (!FillComponentBasedApplicationInfo(manifest))
-    return false;
   return true;
 }