Merge "Expose SurfaceTexture(boolean) constructor"
diff --git a/api/current.txt b/api/current.txt
index 76b284a3..2d3fde8 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -12692,6 +12692,7 @@
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 b9c8a58..d0116ee 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -13140,6 +13140,7 @@
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 d588b7d..9c744c5 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -12709,6 +12709,7 @@
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 c386108..efb46b90 100644
--- a/graphics/java/android/graphics/SurfaceTexture.java
+++ b/graphics/java/android/graphics/SurfaceTexture.java
@@ -156,7 +156,6 @@
* @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();