summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2017-04-04 13:10:02 +0200
committerChristian Stromme <christian.stromme@qt.io>2017-04-20 13:20:43 +0000
commit021e8989308fba30425e7a0f34f4e176a8aa3ccf (patch)
tree02e885adf87a052344ad77bb8908c5b5e247478e /tests
parent7caf543280bf8bdb0d3ea18d6c1a2537fdccfe6e (diff)
Android: Fix camera preview orientation
Before API level 24 the display orientation (the preview) was always set to 0. On newer versions of Android the clockwise rotation is set to be either 0 or 180, depending on the hardware. Since we don't want Android to apply transformation on our surface, we'll just enforce that the display orientation is always set to 0. Task-number: QTBUG-56536 Change-Id: Ie1aacda97540d5c97e6cbd8edb2afc53e7041e1e Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions