Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy extra controls of Styled player on Android 5.0 #8272

Closed
moneytoo opened this issue Nov 23, 2020 · 2 comments
Closed

Buggy extra controls of Styled player on Android 5.0 #8272

moneytoo opened this issue Nov 23, 2020 · 2 comments
Assignees
Labels

Comments

@moneytoo
Copy link
Contributor

moneytoo commented Nov 23, 2020

[REQUIRED] Issue description

The extra controls of the StyledPlayerView do not work the same on Android 5.0 as they work for example on devices running Android 10 (or even Android 6). Opened overflow menu cannot be closed when tapping outside. Selecting the Audio action without loaded media makes the interface unresponsive (this works on higher Android versions just fine).

[REQUIRED] Reproduction steps

Demo app: https://github.com/moneytoo/ExoPlayerDemo
Steps / problems in action: https://youtu.be/Hsb8lWyceTE

[REQUIRED] Link to test content

N/A (can be repro without media)

[REQUIRED] A full bug report captured from the device

bugreport.zip

[REQUIRED] Version of ExoPlayer being used

2.12.1

[REQUIRED] Device(s) and version(s) of Android being used

Both Android 5.0 emulator and real Android 5.0 device: Samsung Galaxy S5 (Model: SM-G900F, Build: LRX21T.G900FXXS1BPE3)

@ojw28
Copy link
Contributor

ojw28 commented Nov 23, 2020

Thanks for reporting this [Internal ref: b/173997207].

@ojw28
Copy link
Contributor

ojw28 commented Dec 10, 2020

Pretty obscure, but it seems this can be fixed by setting a transparent background on the popup, as per:

https://stackoverflow.com/questions/12232724/popupwindow-dismiss-when-clicked-outside

icbaker pushed a commit that referenced this issue Dec 14, 2020
Issue: #8272
#minor-release
PiperOrigin-RevId: 347010412
icbaker pushed a commit that referenced this issue Jan 11, 2021
@ojw28 ojw28 closed this as completed Mar 30, 2021
@google google locked and limited conversation to collaborators May 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants