summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-06-24 20:34:10 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-06-24 20:34:10 +0000
commitf7c8ac5970308fc40e6a6b5ca021f4fa3f2f64ed (patch)
tree22897d83476b50dc8f59c3b07a5acf1b3fee38aa
parent0d15411b812986ea36ffcf92ad63f228cc84e629 (diff)
parent668e6e33b34b3845eeee0bd1abd7747c734b65cd (diff)
Merge "Update the documentation for SurfaceTexture.getDataSpace to clarify that it returns the dataspace set by the most recent call to updateTexImage." into main
-rw-r--r--graphics/java/android/graphics/SurfaceTexture.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java
index 3256f31bdc93..5caedba364be 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -416,7 +416,8 @@ public class SurfaceTexture {
}
/**
- * Retrieve the dataspace associated with the texture image.
+ * Retrieve the dataspace associated with the texture image
+ * set by the most recent call to {@link #updateTexImage}.
*/
@SuppressLint("MethodNameUnits")
public @NamedDataSpace int getDataSpace() {