Skip to content

SurfaceProducer.Callback should not fire once the surface is released #156434

@matanlurey

Description

@matanlurey

While it could be annoyed the client now needs to do manual accounting of the state, which defeats the point of this interface.

This caused (part of) #156158 where a dispose-d VideoPlayer still resulted in callback events about onSurfaceDestroyed.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listfyi-androidFor the attention of Android platform teamplatform-androidAndroid applications specificallyteam-engineOwned by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions