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"));
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"));