summaryrefslogtreecommitdiff
path: root/org.tizen.common.sdblib
diff options
context:
space:
mode:
authorkh5325.kim <kh5325.kim@samsung.com>2013-06-19 22:55:04 +0900
committerkh5325.kim <kh5325.kim@samsung.com>2013-06-19 22:55:04 +0900
commit3929375ec2dbee11b1836feed0cb71e5db9e708b (patch)
treee74483b8113a36b0824e03e0f8419835b492eeec /org.tizen.common.sdblib
parentc79387d795b20ac4b6528e5eb4e81b34b6f141fb (diff)
downloadcommon-eplugin-3929375ec2dbee11b1836feed0cb71e5db9e708b.tar.gz
common-eplugin-3929375ec2dbee11b1836feed0cb71e5db9e708b.tar.bz2
common-eplugin-3929375ec2dbee11b1836feed0cb71e5db9e708b.zip
package version up (2.1.49), Fixed to proceed when starting sdb is failed (stop deviceMonitor)
Diffstat (limited to 'org.tizen.common.sdblib')
-rw-r--r--org.tizen.common.sdblib/src/org/tizen/sdblib/SmartDevelopmentBridge.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.tizen.common.sdblib/src/org/tizen/sdblib/SmartDevelopmentBridge.java b/org.tizen.common.sdblib/src/org/tizen/sdblib/SmartDevelopmentBridge.java
index cdd30c6b0..5698b9d0c 100644
--- a/org.tizen.common.sdblib/src/org/tizen/sdblib/SmartDevelopmentBridge.java
+++ b/org.tizen.common.sdblib/src/org/tizen/sdblib/SmartDevelopmentBridge.java
@@ -437,6 +437,14 @@ SmartDevelopmentBridge
return true;
}
+ public void stopBridge() {
+ // kill the monitoring services
+ deviceMonitor.down();
+ deviceMonitor = null;
+
+ stopSdb();
+ }
+
/**
* Restarts sdb, but not the services around it.
* @return true if success.