From 09ecc087c502fe9641c882a67e26cda98f28b317 Mon Sep 17 00:00:00 2001 From: "jk.pu" Date: Wed, 28 Dec 2016 21:34:27 +0900 Subject: [PATCH] [HAM] fix web tct issue fail tct : HumanActivityMonitorManager_getHumanActivityData_with_errorCallback ServiceNotavailable Exception invoked instead of error callback when start is not called prior to getHumanActivityData(). verificaiton : HAM auto tct 100% passed. Change-Id: I4803dc239a45cf4ef0d40b88e29898b320aab6bb Signed-off-by: jk.pu --- src/humanactivitymonitor/humanactivitymonitor_api.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/humanactivitymonitor/humanactivitymonitor_api.js b/src/humanactivitymonitor/humanactivitymonitor_api.js index 2d2d65e1..d1393cdc 100755 --- a/src/humanactivitymonitor/humanactivitymonitor_api.js +++ b/src/humanactivitymonitor/humanactivitymonitor_api.js @@ -196,9 +196,6 @@ HumanActivityMonitorManager.prototype.getHumanActivityData = function(type, succ } var listenerId = 'HumanActivityMonitor_' + args.type; - if (!native_.isListenerSet(listenerId)) { - throw new WebAPIException(WebAPIException.SERVICE_NOT_AVAILABLE_ERR); - } var data = { type: args.type -- 2.34.1