|
|
|
@ -407,8 +407,6 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
|
binding.btnCameraInfo.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
@Override
|
|
|
|
|
public void onClick(View view) {
|
|
|
|
|
MicroPhotoService.setOtgState(true);
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.setCam3V3Enable(true);
|
|
|
|
|
|
|
|
|
|
Runnable runnable = new Runnable() {
|
|
|
|
@ -419,7 +417,6 @@ public class MainActivity extends AppCompatActivity {
|
|
|
|
|
Log.d(TAG, cameraInfo);
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.setCam3V3Enable(false);
|
|
|
|
|
MicroPhotoService.setOtgState(false);
|
|
|
|
|
|
|
|
|
|
MicroPhotoService.infoLog(cameraInfo);
|
|
|
|
|
Toast.makeText(view.getContext(), cameraInfo, Toast.LENGTH_LONG).show();
|
|
|
|
|