summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2017-11-29 17:55:12 -0800
committerchaviw <chaviw@google.com>2017-11-30 13:02:14 -0800
commita69e0a7d7c11d586c5a3ff74306a41c1456fd250 (patch)
tree767bb7813b1d04926269a0a352b6e057bd53ab48 /tools/aapt2/java/JavaClassGenerator.cpp
parentd7ec64ccd0c2b180fc9fd3ff526642e5e7e28af0 (diff)
Update screenshot requests to render proper crop and rotation.
The previous screenshot requests in SystemUI would generate a bitmap and then adjust crop and rotation afterwards. Bitmaps from screenshots are now hw Bitmaps so they can't be updated in software. Instead request the proper crop and rotation from the native code to generate a Bitmap with the correct configurations. Change-Id: I4591c468b055c784460e5ddf2f9163ffa943c2ee Fixes: 69898957 Test: Manual screenshots work and bugreport screenshots work in landscape.
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions