Reputation: 6426
I have read on stackoverflow that
Every app that requests the SYSTEM_ALERT_WINDOW permission and that is installed through the Play Store (version 6.0.5 or higher is required), will have the permission granted automatically for the app.
But what about situation when we add this permission in existed app and updated it from Google Play?
I have tried to test it and this permission in my app was not granted when I update it, only when I install a new one.
Upvotes: 0
Views: 455
Reputation: 6981
Every app that requests the SYSTEM_ALERT_WINDOW permission and that is installed through the Play Store (version 6.0.5 or higher is required), will have the permission granted automatically for the app.
See that "installed" word there? It is not about update, but about clean install. You cannot automatically handle permissions (even through update) on user's device after s/he has it installed. That could lead to security flaws in theory.
Upvotes: 1