From 668e6e33b34b3845eeee0bd1abd7747c734b65cd Mon Sep 17 00:00:00 2001 From: Sally Qi Date: Fri, 21 Jun 2024 20:03:55 +0000 Subject: 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 --- graphics/java/android/graphics/SurfaceTexture.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3-59-g8ed1b