Rotate camera preview correctly.
This change causes the camera preview in the QR-scanning dialog to be rotated correctly. It also moves opening the camera (which is a slow operation) off the UI thread, thus keeping StrictMode happy. BUG=1002262 Change-Id: I9a7ae2ead10703fee38764a0c8f76597ef6212cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097302 Commit-Queue: Adam Langley <agl@chromium.org> Reviewed-by:Martin Kreichgauer <martinkr@google.com> Auto-Submit: Adam Langley <agl@chromium.org> Cr-Commit-Position: refs/heads/master@{#749431}
Showing
Please register or sign in to comment