Skip to content

Commit

Permalink
set display orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdian-s committed Jun 22, 2018
1 parent f0908ca commit 70b7bca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ boolean start() {
setUpPreview();
}
mShowingPreview = true;
mCamera.setDisplayOrientation(90);
mCamera.startPreview();
return true;
}
Expand Down

0 comments on commit 70b7bca

Please sign in to comment.