summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2012-08-10 16:03:23 +0800
committerWu-cheng Li <wuchengli@google.com>2012-08-10 16:03:23 +0800
commita9fb0f51165bf1ba8287f4abaf5319efaf2cae84 (patch)
tree04fe330b671b1496e7167e06862e9fbdb1147462 /src/com/android/gallery3d
parent95591d2a17036cbc610a9ab586d5e66b8036edd0 (diff)
downloadandroid_packages_apps_Gallery2-a9fb0f51165bf1ba8287f4abaf5319efaf2cae84.tar.gz
android_packages_apps_Gallery2-a9fb0f51165bf1ba8287f4abaf5319efaf2cae84.tar.bz2
android_packages_apps_Gallery2-a9fb0f51165bf1ba8287f4abaf5319efaf2cae84.zip
Guard SurfaceTextureScreenNail with TargetApi.
bug:6927809 Change-Id: If03ffbcbf908a960f00bba97be0cdbf317ecabe8
Diffstat (limited to 'src/com/android/gallery3d')
-rw-r--r--src/com/android/gallery3d/ui/SurfaceTextureScreenNail.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ui/SurfaceTextureScreenNail.java b/src/com/android/gallery3d/ui/SurfaceTextureScreenNail.java
index fd16b3537..ee5fe3dcb 100644
--- a/src/com/android/gallery3d/ui/SurfaceTextureScreenNail.java
+++ b/src/com/android/gallery3d/ui/SurfaceTextureScreenNail.java
@@ -22,6 +22,7 @@ import android.graphics.SurfaceTexture;
import com.android.gallery3d.common.ApiHelper;
+@TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
public abstract class SurfaceTextureScreenNail implements ScreenNail,
SurfaceTexture.OnFrameAvailableListener {
@SuppressWarnings("unused")