diff --git a/api/current.txt b/api/current.txt index 76b284a3b1b76..2d3fde86de380 100644 --- a/api/current.txt +++ b/api/current.txt @@ -12692,6 +12692,7 @@ package android.graphics { public class SurfaceTexture { ctor public SurfaceTexture(int); ctor public SurfaceTexture(int, boolean); + ctor public SurfaceTexture(boolean); method public void attachToGLContext(int); method public void detachFromGLContext(); method public long getTimestamp(); diff --git a/api/system-current.txt b/api/system-current.txt index b9c8a58fad63a..d0116eedaf6bd 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -13140,6 +13140,7 @@ package android.graphics { public class SurfaceTexture { ctor public SurfaceTexture(int); ctor public SurfaceTexture(int, boolean); + ctor public SurfaceTexture(boolean); method public void attachToGLContext(int); method public void detachFromGLContext(); method public long getTimestamp(); diff --git a/api/test-current.txt b/api/test-current.txt index d588b7d6ee4b4..9c744c50a6f47 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -12709,6 +12709,7 @@ package android.graphics { public class SurfaceTexture { ctor public SurfaceTexture(int); ctor public SurfaceTexture(int, boolean); + ctor public SurfaceTexture(boolean); method public void attachToGLContext(int); method public void detachFromGLContext(); method public long getTimestamp(); diff --git a/graphics/java/android/graphics/SurfaceTexture.java b/graphics/java/android/graphics/SurfaceTexture.java index c3861083e2fda..efb46b90e399e 100644 --- a/graphics/java/android/graphics/SurfaceTexture.java +++ b/graphics/java/android/graphics/SurfaceTexture.java @@ -156,7 +156,6 @@ public class SurfaceTexture { * @param singleBufferMode whether the SurfaceTexture will be in single buffered mode. * * @throws Surface.OutOfResourcesException If the SurfaceTexture cannot be created. - * @hide */ public SurfaceTexture(boolean singleBufferMode) { mCreatorLooper = Looper.myLooper();