Update SrsCameraView.java

camera2
thegobot 6 years ago committed by GitHub
parent 8ceba91cf4
commit dac06009b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -211,7 +211,7 @@ public class SrsCameraView extends GLSurfaceView implements GLSurfaceView.Render
setPreviewOrientation(mPreviewOrientation);
}
private int getRotateDeg() {
protected int getRotateDeg() {
try {
int rotate = ((Activity) getContext()).getWindowManager().getDefaultDisplay().getRotation();
switch (rotate) {

Loading…
Cancel
Save