From cd6a9ef58c4a01b9117e74fb9223a773898f68a0 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 16 Jan 2013 14:59:18 -0800 Subject: Clearing screenshot bitmap references and recycling bitmap data immediately after saving. (Bug 7974275) Change-Id: Icb71d28eb80105757026d7fac530db936b327500 --- .../com/android/systemui/screenshot/GlobalScreenshot.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'packages/SystemUI/src/com/android/systemui/screenshot') diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java index 03de89bd..f419273 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java @@ -217,13 +217,21 @@ class SaveImageInBackgroundTask extends AsyncTask