这是indexloc提供的服务,不要输入任何密码
Skip to content

Compose PlayerSurface extends beyond bounds Android 11 and older #2638

@frozenjava

Description

@frozenjava

Version

Media3 1.7.1 (same as 1.6.1)

More version details

Ive also reproduced this on 1.8.0-rc01

Devices that reproduce the issue

Any device running Android 11 or older

Devices that do not reproduce the issue

Any device on Android 12 or newer

Reproducible in the demo app?

Yes

Reproduction steps

Follow the sample from here but wrap it in a column with text underneath.
Run the app

Expected result

The area around the player should not be black

Actual result

The entire screen is black on android 11 and older

Media

Image Image

Sample App

Same issue in demo-compose
Android 12:

Image

Android 11:

Image

Bug Report

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions