diff options
author | chaviw <chaviw@google.com> | 2017-12-06 10:48:11 -0800 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2017-12-06 10:48:11 -0800 |
commit | 1da9cd9b8444709d29a92610b738ca88386fe239 (patch) | |
tree | f972c8e71d6aa8ee90c05698f75b99be9685c9bd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bb91f5fe94188de451726dd83cdaffd5944f5108 (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