summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2011-06-15 15:18:31 -0700
committerRomain Guy <romainguy@android.com>2011-06-15 16:14:26 -0700
commite5e0c50f7dfaccc220725c5595080e921ffda1e4 (patch)
treead37fc360554e81d9dddc6eb47c52e664f7ed25a /graphics
parentf71e5469441286c6f466043e64a7f6492557cbd9 (diff)
downloadframeworks_base-e5e0c50f7dfaccc220725c5595080e921ffda1e4.zip
frameworks_base-e5e0c50f7dfaccc220725c5595080e921ffda1e4.tar.gz
frameworks_base-e5e0c50f7dfaccc220725c5595080e921ffda1e4.tar.bz2
Properly refcount SurfaceTexture in the JNI layer.
Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/SurfaceTexture.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java
index 0ffd201..6c7341f 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -66,11 +66,8 @@ public class SurfaceTexture {
/**
* This field is used by native code, do not access or modify.
- *
- * @hide
*/
- @SuppressWarnings({"UnusedDeclaration"})
- public int mSurfaceTexture;
+ private int mSurfaceTexture;
/**
* Callback interface for being notified that a new stream frame is available.