Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9aa9569

Browse files
committed
[Android] Minor refactor: Remove redundant methods.
1 parent 4a58f74 commit 9aa9569

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

shell/platform/android/io/flutter/view/TextureRegistry.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ interface TextureEntry {
6969
/** Uses a Surface to populate the texture. */
7070
@Keep
7171
interface SurfaceProducer extends TextureEntry {
72-
/** @return The identity of this texture. */
73-
long id();
74-
75-
/** Deregisters and releases all resources . */
76-
void release();
77-
7872
/** Specify the size of this texture in physical pixels */
7973
void setSize(int width, int height);
8074

@@ -101,12 +95,6 @@ interface SurfaceProducer extends TextureEntry {
10195
/** A registry entry for a managed SurfaceTexture. */
10296
@Keep
10397
interface SurfaceTextureEntry extends TextureEntry {
104-
/** @return The identity of this texture. */
105-
long id();
106-
107-
/** Deregisters and releases all resources . */
108-
void release();
109-
11098
/** @return The managed SurfaceTexture. */
11199
@NonNull
112100
SurfaceTexture surfaceTexture();
@@ -120,12 +108,6 @@ default void setOnTrimMemoryListener(@Nullable OnTrimMemoryListener listener) {}
120108

121109
@Keep
122110
interface ImageTextureEntry extends TextureEntry {
123-
/** @return the identity of this ImageTextureEntry */
124-
long id();
125-
126-
/** Deregisters and releases all resources. */
127-
void release();
128-
129111
/**
130112
* Next paint will update texture to use the contents of image.
131113
*

0 commit comments

Comments
 (0)