Skip to content

Commit

Permalink
Don't touch surface size from background thread
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzak committed Jun 8, 2017
1 parent 644d4e0 commit ab34cd3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/java/gq/icctv/icctv/CameraView.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ private void initializeSurface() {
surfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
}

surfaceHolder.setFixedSize(width, height);
surfaceHolder.addCallback(this);

// If the surface has already been created, the surfaceCreated callback won't fire again.
Expand Down

0 comments on commit ab34cd3

Please sign in to comment.