diff options
| author | nicolasroard <nicolasroard@google.com> | 2013-04-01 21:33:20 -0700 |
|---|---|---|
| committer | nicolasroard <nicolasroard@google.com> | 2013-04-01 21:33:20 -0700 |
| commit | 5bd6e14f2c2b06943fa542921241b79566b3c6e2 (patch) | |
| tree | d05d80579564c9079af73ae19bb9669b9c4d474e | |
| parent | e7aa98e533531f5e82f5de37c24701bc44bc6cd1 (diff) | |
| download | android_packages_apps_Gallery2-5bd6e14f2c2b06943fa542921241b79566b3c6e2.tar.gz android_packages_apps_Gallery2-5bd6e14f2c2b06943fa542921241b79566b3c6e2.tar.bz2 android_packages_apps_Gallery2-5bd6e14f2c2b06943fa542921241b79566b3c6e2.zip | |
Don't try freeing resources on a different thread..
This call to freeResources happens on the main thread.
It's also not really useful. The geometry instance
shouldn't be shared either.
bug:8522497
Change-Id: I7b144713428ab803b3640b3d8226fd862db824f4
| -rw-r--r-- | src/com/android/gallery3d/filtershow/cache/CachingPipeline.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/cache/CachingPipeline.java b/src/com/android/gallery3d/filtershow/cache/CachingPipeline.java index ecfdabab0..752e1c2f8 100644 --- a/src/com/android/gallery3d/filtershow/cache/CachingPipeline.java +++ b/src/com/android/gallery3d/filtershow/cache/CachingPipeline.java @@ -309,7 +309,6 @@ public class CachingPipeline { } setupEnvironment(preset, false); mEnvironment.setQuality(ImagePreset.QUALITY_PREVIEW); - mFiltersManager.freeFilterResources(preset); bitmap = preset.applyGeometry(bitmap, mEnvironment); return bitmap; } |
