SYSTEM_ALERT_WINDOW PERMISSION on API 26 not working as expected. Permission denied for window type 2002
问题 I am using overlay permission to display certain information in my app. Running it on API 23 - 25 it works fine (asking for permission, granting, etc. according to Unable to add window android.view.ViewRoot$W@44da9bc0 -- permission denied for this window type ). (Many thanks to ceph3us!) Trying the same on API 26 I am getting an error, basically "permission denied for window type 2002" when calling windowManager.addView(frameLayout, params); Did Google change the way, overlay works? Any idea,