commit | 1da9cd9b8444709d29a92610b738ca88386fe239 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Wed Dec 06 10:48:11 2017 -0800 |
committer | chaviw <chaviw@google.com> | Wed Dec 06 10:48:11 2017 -0800 |
tree | f972c8e71d6aa8ee90c05698f75b99be9685c9bd | |
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