summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-04-30 12:15:16 -0500
committerchaviw <chaviw@google.com>2021-04-30 13:07:36 -0500
commit465ae43483a88c8e50046627e70ec582bbcf70e3 (patch)
tree17b550d1d594417b7efb3e9b2d3c78ee83377a58 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentebffd9b97fd77eba9c679026a56eae4644e9eef1 (diff)
Fix ScreenRotation flicker from 90 to 270.
When porting over ScreenRotation to use BufferStateLayer, rotating from 90 to 270 broke. This is because the old code was trying to screenshot and rotate based off 0 rotation instead of off the current rotation. Cleaned up the code so it now takes the screenshot in the current orientation and creates a rotation matrix based on the current rotation Test: Screen rotation Fixes: 186352065 Change-Id: I0d1268a849959fbb3d2b3158e099b595d00f273b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions