keep usb connection connected onDestroy
@@ -607,7 +607,7 @@ public abstract class CameraActivity extends AppCompatActivity
@Override
public synchronized void onDestroy() {
- toggleConnection(false);
+// toggleConnection(false);
if (localBroadcastManager != null) {
localBroadcastManager.unregisterReceiver(localBroadcastReceiver);
localBroadcastManager = null;
