diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-08-02 16:37:58 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-08-02 16:37:58 -0700 |
commit | 6311d0a079702b29984c0d31937345be105e1a5e (patch) | |
tree | c9d5ebf9e2d1f6685220fe2e31ad8a4e21366a11 /packages/SystemUI/src/com/android/systemui/screenshot | |
parent | 7374d9728bd0e8847bab723608ebab3542e8157e (diff) | |
download | frameworks_base-6311d0a079702b29984c0d31937345be105e1a5e.zip frameworks_base-6311d0a079702b29984c0d31937345be105e1a5e.tar.gz frameworks_base-6311d0a079702b29984c0d31937345be105e1a5e.tar.bz2 |
Clear the bitmap from the canvas in a lot of places.
Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/screenshot')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java index 3a47e6e..fc21929 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java @@ -294,6 +294,7 @@ class GlobalScreenshot { c.rotate(360f - degrees); c.translate(-dims[0] / 2, -dims[1] / 2); c.drawBitmap(mScreenBitmap, 0, 0, null); + c.setBitmap(null); mScreenBitmap = ss; } |