diff options
-rw-r--r-- | Android.mk | 2 | ||||
-rw-r--r-- | sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java | 4 |
2 files changed, 3 insertions, 3 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..639f4f5 100644 --- a/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java +++ b/sample/src/com/example/bitmapsample/BitmapRequestKeyImpl.java @@ -16,7 +16,7 @@ package com.example.bitmapsample; -import android.content.res.AssetFileDescriptor; +import android.os.ParcelFileDescriptor; import com.android.bitmap.RequestKey; @@ -65,7 +65,7 @@ public class BitmapRequestKeyImpl implements RequestKey { } @Override - public AssetFileDescriptor createFd() throws IOException { + public ParcelFileDescriptor createFd() throws IOException { return null; } |