mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

PlayerView's default surface type was also SURFACE_VIEW. This allows for a simple `PlayerSurface(player)` usage by most developers. The order of the arguments needs to be changed, because `modifier` should be the first default argument (https://android.googlesource.com/platform/frameworks/support/+/androidx-main/compose/docs/compose-component-api-guidelines.md#parameter) PiperOrigin-RevId: 731294658 (cherry picked from commit afea6962c254b6621eee2b8f075d6fdb5283602a)