Reputation: 135
I want to launch the overlay permission setting screen in Android TV, but "Settings.ACTION_MANAGE_OVERLAY_PERMISSION" action is not resolved on Android TV. Please find the code snippet below
val intent = Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName"))
startActivityForResult(intent, 0)
Please guide me how to launch the overlay permission setting screen in Android TV.
Upvotes: 2
Views: 966
Reputation: 1164
It is a known "bug" and won't be fixed as Google is moving away from the OVERLAY permission.
See original bug report: https://issuetracker.google.com/issues/37121932
Upvotes: 2