Skip to content

Commit 43a047f

Browse files
TakePhoto時にタイミングによってはレスポンスが返ってこなくる件の修正。
1 parent c0c7caa commit 43a047f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • dConnectDevicePlugin/dConnectDeviceHost/app/src/main/java/org/deviceconnect/android/deviceplugin/host/camera

dConnectDevicePlugin/dConnectDeviceHost/app/src/main/java/org/deviceconnect/android/deviceplugin/host/camera/CameraWrapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ void notifyEvent(final CameraEvent event) {
9999

100100
private CameraCaptureSession mCaptureSession;
101101

102-
private boolean mIsTakingStillImage;
102+
private static volatile boolean mIsTakingStillImage;
103103

104-
private boolean mIsPreview;
104+
private static volatile boolean mIsPreview;
105105

106-
private boolean mIsRecording;
106+
private static volatile boolean mIsRecording;
107107

108108
private Surface mStillImageSurface;
109109

0 commit comments

Comments
 (0)