diff options
| author | 2017-06-02 20:07:49 +0000 | |
|---|---|---|
| committer | 2017-06-02 20:07:56 +0000 | |
| commit | 0ecc0ff5e07886e08f7acc00f375273514653ee7 (patch) | |
| tree | f7edd6ccec550929d9938d92382eeb5afcab2bac /packages/Shell/src | |
| parent | fa3abeb31bb9fea234ab04b68fce28ff9582fe1a (diff) | |
| parent | 26a2b97dbe48ee45e9ae70110714048f2f360f97 (diff) | |
Merge "Enable wide color gamut rendering"
Diffstat (limited to 'packages/Shell/src')
| -rw-r--r-- | packages/Shell/src/com/android/shell/Screenshooter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Shell/src/com/android/shell/Screenshooter.java b/packages/Shell/src/com/android/shell/Screenshooter.java index 92c5fcc3139f..8e27edf93d9c 100644 --- a/packages/Shell/src/com/android/shell/Screenshooter.java +++ b/packages/Shell/src/com/android/shell/Screenshooter.java @@ -100,7 +100,7 @@ final class Screenshooter { // Rotate the screenshot to the current orientation if (rotation != ROTATION_FREEZE_0) { Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight, - Bitmap.Config.ARGB_8888); + Bitmap.Config.ARGB_8888, screenShot.hasAlpha(), screenShot.getColorSpace()); Canvas canvas = new Canvas(unrotatedScreenShot); canvas.translate(unrotatedScreenShot.getWidth() / 2, unrotatedScreenShot.getHeight() / 2); |