Why use Semaphore ?
Closed this issue · 1 comments
zondaOf2012 commented
I thought it would do no good.
At least, in the CameraDevice.StateCallback add this:
@Override
public void onClosed(@NonNull CameraDevice camera) {
Log.i("TAG", "CameraDevice.StateCallback onClosed");
super.onClosed(camera);
mCameraOpenCloseLock.release();
mCameraDevice = null;
}
codingjeremy commented
This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!