summaryrefslogtreecommitdiffstats
path: root/src/com/android
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
commit350fff29e3d2b48613c7e78cc1453e4ebd4ce281 (patch)
tree577532cdbddf438bb6ac388937447bbce065139e /src/com/android
parent103509d112e24814df5064522b8d7856fb969d09 (diff)
downloadandroid_packages_apps_Snap-350fff29e3d2b48613c7e78cc1453e4ebd4ce281.tar.gz
android_packages_apps_Snap-350fff29e3d2b48613c7e78cc1453e4ebd4ce281.tar.bz2
android_packages_apps_Snap-350fff29e3d2b48613c7e78cc1453e4ebd4ce281.zip
Guard SurfaceTextureScreenNail with TargetApi.
bug:6927809 Change-Id: If03ffbcbf908a960f00bba97be0cdbf317ecabe8
Diffstat (limited to 'src/com/android')
-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")