androidtv-sample-inputs icon indicating copy to clipboard operation
androidtv-sample-inputs copied to clipboard

Overlay not showing on API 28

Open szaboa opened this issue 5 years ago • 4 comments

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 avatar Aug 06 '19 11:08 szaboa

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

szaboa avatar Aug 07 '19 12:08 szaboa

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 avatar Aug 15 '19 07:08 stari4ek

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

stari4ek avatar Aug 15 '19 07:08 stari4ek

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.

Vispen74 avatar Apr 28 '20 03:04 Vispen74