[HAM] Fixed argument type of removeActivityRecognitionListener().
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Wed, 16 Mar 2016 11:19:36 +0000 (12:19 +0100)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Wed, 16 Mar 2016 11:19:36 +0000 (12:19 +0100)
Change-Id: I7a15fdb76d780730118874e5dd3d255ab74e6e3e
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/humanactivitymonitor/humanactivitymonitor_api.js

index 7cea56b..daf6252 100755 (executable)
@@ -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}
   ]);