Skip to content

Commit

Permalink
fix warning on android
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelaziz-mahdy committed Dec 12, 2024
1 parent b8ff988 commit 02ad386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/mediadevkit/fvp/FvpPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
sp.setCallback(
new TextureRegistry.SurfaceProducer.Callback() {
@Override
public void onSurfaceCreated() {
Log.d("FvpPlugin", "SurfaceProducer.onSurfaceCreated for textureId " + texId);
public void onSurfaceAvailable() {
Log.d("FvpPlugin", "SurfaceProducer.onSurfaceAvailable for textureId " + texId);
final Surface newSurface = sp.getSurface();
surfaces.put(texId, newSurface);
// will do nothing if same surface
Expand Down

0 comments on commit 02ad386

Please sign in to comment.