4

As you know the dialog for asking permission in Android TV Oreo+ is like this:

Dialog box in ATV

It should reside in frameworks part of AOSP. (Am I right?) Anyone know the class path of this component. I think using this dialog in android TV apps is nicer to everybody!

Saleh
  • 1,819
  • 1
  • 17
  • 44
  • Now I know if we add "leanback" and "leanback_only" features to our AOSP build, the regular dialogs will appear like above. – Saleh Mar 19 '20 at 18:20
  • I didn't find a solution and created a custom DialogFragment https://stackoverflow.com/a/71093344/7540461 – Tiarait Feb 12 '22 at 15:45
  • @Tiarait Can you please make a java version of the ```LeanbackDialogFragment.kt``` – Omar Hemaia Aug 30 '22 at 16:04

0 Answers0