@Override
  public void deviceChanged(IDevice device, int changeMask) {
    // Only fire events if the phone properties are available
    if (IDevice.CHANGE_BUILD_INFO == changeMask && !device.isEmulator()) {
      for (HardwareDeviceListener listener : deviceListeners) {
        listener.onDeviceChanged(connectedDevices.get(device));
      }
    }
  }
Shutdown the AndroidDebugBridge and clean up all connected devices.
selendroid-standalone/src/main/java/io/selendroid/standalone/android/impl/DefaultDeviceManager.java