5

Starting from Android 11, using Settings.ACTION_MANAGE_OVERLAY_PERMISSION will ignore the package name, and instead will show a list of all apps that can have this permission. So you have to navigate and find your app to enable/disable the permission.

There is a way to highlight the specific app you want in the list instead of having to search for it through all the apps. Like this.

Following something similar to this: Highlighting a menu item in system settings I want to make the same but for the "Draw over other apps" setting. (Settings.ACTION_MANAGE_OVERLAY_PERMISSION)

According to this answer, there are undocumented features of Android that can be used.

I want to know if something similar to what I am trying to achieve is possible and how? Thanks in advance!

Kzaf
  • 563
  • 7
  • 19

0 Answers0