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

Overlay not showing on API 28 #47

Open
szaboa opened this issue Aug 6, 2019 · 4 comments
Open

Overlay not showing on API 28 #47

szaboa opened this issue Aug 6, 2019 · 4 comments

Comments

@szaboa
Copy link

szaboa commented Aug 6, 2019

After calling setOverlayViewEnabled(true), overriding onCreateOverlay and returning a view, the overlay is correctly showing up on Android 8.1 but not on Android 9.

Any idea why is this?

@szaboa
Copy link
Author

szaboa commented Aug 7, 2019

This can be observed also in the sample app, channel HLS (Bip-bop).

@stari4ek
Copy link

stari4ek commented Aug 15, 2019

I want to confirm it.
Technically it's displayed but it's located under surface - so it's "invisible"

I've created branch with ready-to-use repro
It includes changes:

  • compile project under AS 3.5 RC03
  • make overlay fullscreen, transparent and RED to be easy to spot

With changes made in repro above it's easy to verify it side-by-side comparing with older emulators.
Here are Emulator API 26 vs Emulator API 28:

overlay-issue-api-26-28-livetv

overlay-issue-api-26-28-pip

Documentation reference: https://developer.android.com/reference/android/media/tv/TvInputService.Session#setOverlayViewEnabled(boolean)

This issue can be reproduced on:

  • Android TV emulator API 28
  • NVidia Shield with Android 9

@stari4ek
Copy link

I've created issue in Android bug tracking: https://issuetracker.google.com/issues/139429602

@Vispen74
Copy link

Could anyone of you having this issue on Shield please report it to Nvidia here:
https://nvidia.custhelp.com/app/ask
Nvidia told me that I'm the only one that has reported this issue, and they are not able to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants