summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-10-12 12:48:13 -0700
committerRobert Carr <racarr@google.com>2016-10-12 12:50:32 -0700
commite441e7f15f28c4281e18eba339755344809ce6e7 (patch)
treeedfad1dc1f36a556a1e9cbad4e09c0e5941afc36 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd5541b987aa50a08fb971bdaa7830edd948b3f52 (diff)
Correct recently introduced logic error in seamless rotation detection.
The code detecting whether we should rotate seamlessly (which for example we do not support for 180 degree rotations) was moved to before mRotation was updated, so it was always passing the same value for old and new rotation, and we were failing to perform the 180 degree rotation check. Correct this. Test: Rotate the device 180 degrees at once while in Camera. Things look ok. Bug: 32025371 Change-Id: I0ef08e8cc4e5d87fdff6d839381196c2b52e71d5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions