public static void terminateDdmlib() { synchronized (myDdmsLock) { AndroidDebugBridge.disconnectBridge(); AndroidDebugBridge.terminate(); LOG.info("DDMLib terminated"); myDdmLibInitialized = false; } }
@Override public void close() { LOGGER.debug("close() - start"); if (injector != null) injector.close(); if (device != null) { synchronized (device) { if (hasFilledAdbPath()) AndroidDebugBridge.disconnectBridge(); AndroidDebugBridge.terminate(); } } LOGGER.debug("close() - end"); }
/** {@inheritDoc} */ public void disconnectBridge() { AndroidDebugBridge.disconnectBridge(); }