From 4d2f71e46622169d54b799d85f659420bf2defc1 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Fri, 23 May 2014 15:23:19 -0700 Subject: Fix framesequence sample app Change-Id: I17e997e7240c45a967b258091b8dc1ad9021ae78 --- .../src/com/android/rastermill/samples/AnimatedGifTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framesequence') diff --git a/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/AnimatedGifTest.java b/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/AnimatedGifTest.java index af84a60..2328975 100644 --- a/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/AnimatedGifTest.java +++ b/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/AnimatedGifTest.java @@ -110,7 +110,7 @@ public class AnimatedGifTest extends Activity { super.onPause(); ImageView imageView = (ImageView) findViewById(R.id.imageview); - mDrawable.recycle(); + mDrawable.destroy(); if (!mProvider.isEmpty()) throw new IllegalStateException("All bitmaps not recycled"); mDrawable = null; -- cgit v1.2.3