[Application] Removing useless comment 24/167124/2
authorSzymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Mon, 15 Jan 2018 11:57:52 +0000 (12:57 +0100)
committerSzymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Thu, 18 Jan 2018 10:00:43 +0000 (10:00 +0000)
The Context-History related features are available on Mobile&Wearables.

Change-Id: I1c232b55e80760dbbe08b8b69be2121e9cd000b4
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
src/application/application_manager.cc

index 67e92d3..76c705e 100644 (file)
@@ -1356,8 +1356,6 @@ void ApplicationManager::GetBatteryUsageInfo(const picojson::value& args, picojs
   TaskQueue::GetInstance().Queue<picojson::value>(get_battery_usage, get_battery_usage_response,
                                                   data);
 #else
-  // 20170510 Context API is supported only for mobile profile, other ones would result with
-  // NotSupportedError
   LogAndReportError(PlatformResult(ErrorCode::NOT_SUPPORTED_ERR,
                                    "This feature is not supported on this profile."),
                     out, ("NOT_SUPPORTED_ERR: This feature is not supported on this profile"));
@@ -1392,8 +1390,6 @@ void ApplicationManager::GetAppsUsageInfo(const picojson::value& args, picojson:
 
   TaskQueue::GetInstance().Queue<picojson::value>(get_apps_usage, get_apps_usage_response, data);
 #else
-  // Context API is supported only for mobile profile, other ones would result with
-  // NotSupportedError
   LogAndReportError(PlatformResult(ErrorCode::NOT_SUPPORTED_ERR,
                                    "This feature is not supported on this profile."),
                     out, ("NOT_SUPPORTED_ERR: This feature is not supported on this profile"));