[common][humanactivity][DPTTIZEN-2983, fix tc issue] 23/167623/1
authorzy123.yuan <zy123.yuan@samsung.com>
Fri, 19 Jan 2018 01:32:20 +0000 (09:32 +0800)
committerzy123.yuan <zy123.yuan@samsung.com>
Fri, 19 Jan 2018 01:35:22 +0000 (09:35 +0800)
Change-Id: Ic0572f512944b521a33134e21febfc35fbd672eb

common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_SLEEP_MONITOR.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_SLEEP_MONITOR.html

index 0429f1075f8ae6fd95c392dcbb47d97443354542..f20f4148ba5a53350059f40367ca6d76a2c57344 100755 (executable)
@@ -38,7 +38,9 @@ test(function () {
     var returnedValue = null, humanActivityType = "SLEEP_MONITOR";
 
     add_result_callback(function () {
-        tizen.humanactivitymonitor.stopRecorder(humanActivityType);
+        try{
+            tizen.humanactivitymonitor.stopRecorder(humanActivityType);
+        }catch(e){}
     });
 
     try {
index 6bad4eeecb2f54c110f444afe96c74409bff9b36..6f22dc79d16f661de62a804c559c02e53a6d726b 100755 (executable)
@@ -38,7 +38,9 @@ test(function () {
     var returnedValue = null, humanActivityType = "SLEEP_MONITOR";
 
     add_result_callback(function () {
-        tizen.humanactivitymonitor.stopRecorder(humanActivityType);
+        try{
+            tizen.humanactivitymonitor.stopRecorder(humanActivityType);
+        }catch(e){}
     });
 
     try {