diff options
author | Mark Wei <markwei@google.com> | 2013-10-21 21:15:23 -0700 |
---|---|---|
committer | Mark Wei <markwei@google.com> | 2013-10-21 21:15:23 -0700 |
commit | ea356fbb2c76f0c8ed79901e800d0f7d62dc952d (patch) | |
tree | 397144d952e4eee894796545ed010e9704443e00 | |
parent | 528300fdc3caeb96a24873acf2b1cc0914b97593 (diff) | |
download | bitmap-ea356fbb2c76f0c8ed79901e800d0f7d62dc952d.tar.gz |
Fix bitmap sample.
Change-Id: I067a1b7f49ef0ad6ba746b7c35efde61de2cfc88
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -17,7 +17,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := android-opt-bitmap -LOCAL_SDK_VERSION := 18 +LOCAL_SDK_VERSION := 16 LOCAL_SRC_FILES := \ $(call all-java-files-under, src) \ diff --git a/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java b/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java index a4705c5..684cea7 100644 --- a/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java +++ b/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java @@ -17,6 +17,7 @@ package com.example.bitmapsample; import android.content.res.AssetFileDescriptor; +import android.os.ParcelFileDescriptor; import com.android.bitmap.RequestKey; @@ -65,7 +66,7 @@ public class BitmapRequestKeyImpl implements RequestKey { } @Override - public AssetFileDescriptor createFd() throws IOException { + public ParcelFileDescriptor createFd() throws IOException { return null; } |