summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sally Qi <sallyqi@google.com> 2024-06-21 20:03:55 +0000
committer Sally Qi <sallyqi@google.com> 2024-06-21 20:03:55 +0000
commit668e6e33b34b3845eeee0bd1abd7747c734b65cd (patch)
treeffe6a00a8b50880e96141a3e43050804dc7afa23
parente55abe63b887b29eaddc86234a430219cbf10715 (diff)
Update the documentation for SurfaceTexture.getDataSpace to clarify that it returns the dataspace set by the most recent call to updateTexImage.
Bug: 348417019 Flag: EXEMPT bugfix Test: n/a Change-Id: I582b5a5376254cb5f24adbac9e3f83baf3e2ccd9
-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() {