summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2017-12-06 10:48:11 -0800
committerchaviw <chaviw@google.com>2017-12-06 10:48:11 -0800
commit1da9cd9b8444709d29a92610b738ca88386fe239 (patch)
treef972c8e71d6aa8ee90c05698f75b99be9685c9bd /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbb91f5fe94188de451726dd83cdaffd5944f5108 (diff)
Convert screenshot hw Bitmap to sw Bitmap for screenshot preview.
Bitmaps created from SurfaceControl.screenshot are hardware Bitmaps. In order to update the size for the screenshot preview, the Bitmaps need to be converted to software Bitmaps first. Also updated the SurfaceControl docs to make this clear. Fixes: 69929720 Test: Notifications from lock screen and status bar show the screenshot preview. Change-Id: Iebc4a261216f3d965e1c98a77c27cc0cb2e442af
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions