summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2025-01-14 12:41:36 -0800
committer Vishnu Nair <vishnun@google.com> 2025-01-14 12:44:24 -0800
commit4871677fd6a50678e66338e37e085e3d74613f3b (patch)
tree383d4a953666395e64b737b8ae9204afca021d0a /graphics/java
parent463478209c8670a36969aee8b5e897467db43f61 (diff)
Remove obsolete BLASTBufferQueue constructor
This constructor may apply a transaction using the default apply token. Calling update after construction allows the caller to specify the token. Remove the constructor since its redundant and maybe error prone in cases where the caller needs to specify a token. Bug: 386289111 Test: presubmit Flag: EXEMPT refactor Change-Id: I67521ac5b375f769d26a10b60b0769c3c2d511b0
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/BLASTBufferQueue.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/graphics/java/android/graphics/BLASTBufferQueue.java b/graphics/java/android/graphics/BLASTBufferQueue.java
index 906c71d9caca..1c34e0d54908 100644
--- a/graphics/java/android/graphics/BLASTBufferQueue.java
+++ b/graphics/java/android/graphics/BLASTBufferQueue.java
@@ -66,12 +66,6 @@ public final class BLASTBufferQueue {
}
/** Create a new connection with the surface flinger. */
- public BLASTBufferQueue(String name, SurfaceControl sc, int width, int height,
- @PixelFormat.Format int format) {
- this(name, true /* updateDestinationFrame */);
- update(sc, width, height, format);
- }
-
public BLASTBufferQueue(String name, boolean updateDestinationFrame) {
mNativeObject = nativeCreate(name, updateDestinationFrame);
}