Fix naming of constant variable for ambient-support key string 47/105747/1
authorSangyoon Jang <s89.jang@samsung.com>
Mon, 19 Dec 2016 10:39:24 +0000 (19:39 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Mon, 19 Dec 2016 10:39:24 +0000 (19:39 +0900)
Change-Id: Iafe1329dd7d98ecddbd8ba10cd50a7dedad5b191
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/tpk_manifest_handlers/watch_application_handler.cc

index 2ee01d8434e64974ca772e71d90d2a8b43265053..2a33e657a5e68921ca785fa83e9868468dc40040 100644 (file)
@@ -25,7 +25,7 @@ const char kWatchApplicationAppIDKey[] = "@appid";
 const char kWatchApplicationExecKey[] = "@exec";
 const char kWatchApplicationTypeKey[] = "@type";
 const char kWatchApplicationSupportModeKey[] = "@support-mode";
-const char kWatchApplicationAmbientSupport[] = "@ambient-support";
+const char kWatchApplicationAmbientSupportKey[] = "@ambient-support";
 const char kWatchApplicationKey[] = "manifest.watch-application";
 
 const char kTrue[] = "true";
@@ -110,7 +110,7 @@ bool ParseWatchApplication(
     watch_app_info->app_info.set_exec(exec);
 
   std::string ambient_support;
-  if (app_dict.GetString(kWatchApplicationAmbientSupport, &ambient_support))
+  if (app_dict.GetString(kWatchApplicationAmbientSupportKey, &ambient_support))
     watch_app_info->app_info.set_ambient_support(ambient_support);
 
   std::string type;