Merge branch 'tizen_4.0' into tizen 95/186895/1 accepted/tizen/unified/20180816.134724 submit/tizen/20180816.094841
authorPiotr Kosko <p.kosko@samsung.com>
Thu, 16 Aug 2018 09:43:33 +0000 (11:43 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Thu, 16 Aug 2018 09:43:33 +0000 (11:43 +0200)
Change-Id: Ibae752b267feae901c0312645fa33e0bdcdc97fd

1  2 
packaging/webapi-plugins.spec
src/humanactivitymonitor/humanactivitymonitor_api.js

@@@ -8,7 -8,7 +8,7 @@@
  %define crosswalk_extensions_path %{_libdir}/%{crosswalk_extensions}
  
  Name:       webapi-plugins
- Version:    2.27
 -Version:    2.25
++Version:    2.28
  Release:    0
  License:    Apache-2.0 and BSD-3-Clause and MIT
  Group:      Development/Libraries
@@@ -350,7 -294,12 +348,12 @@@ HumanActivityMonitorManager.prototype.s
      {name: 'options', type : types_.DICTIONARY, optional : true, nullable : true}
    ]);
  
 -  var listenerId = 'HumanActivityMonitor_'  + args.type;
+   if (HumanActivityType.WRIST_UP === args.type) {
+     utils_.warn('DEPRECATION WARNING: HumanActivityType.WRIST_UP is deprecated since Tizen 4.0. '
+                      + 'Use GestureType and addGestureRecognitionListener to monitor WRIST_UP gesture');
+   }
 +  var listenerId = 'HumanActivityMonitor_' + args.type;
    var optionsAttributes = ["callbackInterval", "sampleInterval"], options = args.options || {};
  
    var callbackInterval = null, sampleInterval = null;