Skip to content

Don't show screen overlay dialog if all overlay apps have been allowed

akwizgran requested to merge 1143-screen-overlay-dialog into master
  • Add an "Allow these apps to draw on top" checkbox to the screen overlay dialog
  • Store the list of allowed apps in SharedPreferences (because we need to access the list before the DB is opened)
  • Don't show the dialog if all apps have been allowed
  • Cache the list of overlay apps to avoid re-creating it on every tap
  • Clear the cache when apps are installed, updated or removed

Unsolved:

  • Apps that requested the overlay permission but haven't been granted it are included in the list

Needs backport.

Closes #1143 (closed), maybe #945 (closed).

Merge request reports