device-api/src/main/java/com/github/cosysoft/device/android/impl/AndroidDeviceStore.java
public void initAndroidDevices(boolean shouldKeepAdbAlive)
      throws AndroidDeviceException {
    //        DdmPreferences.setLogLevel(LogLevel.VERBOSE.getStringValue());
    DdmPreferences.setInitialThreadUpdate(true);
    DdmPreferences.setInitialHeapUpdate(true);
    this.initializeAdbConnection();
  }
public void initAndroidDevices(boolean shouldKeepAdbAlive)
      throws AndroidDeviceException {
    //        DdmPreferences.setLogLevel(LogLevel.VERBOSE.getStringValue());
    DdmPreferences.setInitialThreadUpdate(true);
    DdmPreferences.setInitialHeapUpdate(true);
    this.initializeAdbConnection();
  }
call once