Browse Source

修复部分机型Activity不可见时,Camera预览失败bug

main 1.3.6
jiangdongguo 7 years ago
parent
commit
4473547e1e
  1. 1
      app/src/main/java/com/jiangdg/usbcamera/view/USBCameraActivity.java
  2. 3
      libusbcamera/src/main/java/com/jiangdg/usbcamera/USBCameraManager.java

1
app/src/main/java/com/jiangdg/usbcamera/view/USBCameraActivity.java

@ -125,7 +125,6 @@ public class USBCameraActivity extends AppCompatActivity implements CameraDialog
mUSBManager.createUVCCamera(mUVCCameraView);
}
@Override
protected void onStart() {
super.onStart();

3
libusbcamera/src/main/java/com/jiangdg/usbcamera/USBCameraManager.java

@ -198,8 +198,7 @@ public class USBCameraManager{
}
});
}
/**
* 注册检测USB设备广播接收器
* */

Loading…
Cancel
Save