From: Pawel Andruszkiewicz Date: Wed, 16 Mar 2016 11:19:36 +0000 (+0100) Subject: [HAM] Fixed argument type of removeActivityRecognitionListener(). X-Git-Tag: submit/tizen/20160317.014552^2~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e70c31b38cf38a6fabf2482d81de9ad8d1297634;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [HAM] Fixed argument type of removeActivityRecognitionListener(). Change-Id: I7a15fdb76d780730118874e5dd3d255ab74e6e3e Signed-off-by: Pawel Andruszkiewicz --- diff --git a/src/humanactivitymonitor/humanactivitymonitor_api.js b/src/humanactivitymonitor/humanactivitymonitor_api.js index 7cea56ba..daf6252f 100755 --- a/src/humanactivitymonitor/humanactivitymonitor_api.js +++ b/src/humanactivitymonitor/humanactivitymonitor_api.js @@ -317,7 +317,7 @@ HumanActivityMonitorManager.prototype.addActivityRecognitionListener = function( HumanActivityMonitorManager.prototype.removeActivityRecognitionListener = function() { var args = validator_.validateArgs(arguments, [ - {name: 'watchId', type: types_.ENUM}, + {name: 'watchId', type: types_.LONG}, {name: 'errorCallback', type: types_.FUNCTION, optional: true, nullable: true} ]);