Commit 05846438 authored by Philipp Hasper's avatar Philipp Hasper

Typo in CameraBridgeViewBase.java

Corrected typo and unused imports
parent af5e631a
...@@ -3,10 +3,8 @@ package org.opencv.android; ...@@ -3,10 +3,8 @@ package org.opencv.android;
import java.util.List; import java.util.List;
import org.opencv.R; import org.opencv.R;
import org.opencv.android.Utils;
import org.opencv.core.Mat; import org.opencv.core.Mat;
import org.opencv.core.Size; import org.opencv.core.Size;
import org.opencv.videoio.Videoio;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
...@@ -451,7 +449,7 @@ public abstract class CameraBridgeViewBase extends SurfaceView implements Surfac ...@@ -451,7 +449,7 @@ public abstract class CameraBridgeViewBase extends SurfaceView implements Surfac
*/ */
protected abstract void disconnectCamera(); protected abstract void disconnectCamera();
// NOTE: On Android 4.1.x the function must be called before SurfaceTextre constructor! // NOTE: On Android 4.1.x the function must be called before SurfaceTexture constructor!
protected void AllocateCache() protected void AllocateCache()
{ {
mCacheBitmap = Bitmap.createBitmap(mFrameWidth, mFrameHeight, Bitmap.Config.ARGB_8888); mCacheBitmap = Bitmap.createBitmap(mFrameWidth, mFrameHeight, Bitmap.Config.ARGB_8888);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment