Skip to content

Commit

Permalink
Merge "Fix reversed portrait"
Browse files Browse the repository at this point in the history
  • Loading branch information
yaraki authored and Gerrit Code Review committed Apr 11, 2017
2 parents 0af6ef4 + c9394ca commit c3f7e7d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ void configureTransform() {
0.f, height, // bottom right
}, 0,
4);
} else if (mDisplayOrientation == 180) {
matrix.postRotate(180, getWidth() / 2, getHeight() / 2);
}
mTextureView.setTransform(matrix);
}
Expand Down

0 comments on commit c3f7e7d

Please sign in to comment.