In Android 6.0.1, the permissive behavior of SYSTEM_ALER_WINDOW, if the user has Google Play version 6.0.5 or higher installed, the permision of SYSTEM_ALERT_WINDOW is automatically turned on (if needed).
I do not understand what changes need to be made in the code so that the permissions turn on automatically?