CodePudding user response:
1. The floating window permissions are not suitable for mass app2. @ TargetApi (Build) VERSION_CODES) M) this is wrong, you need to understand the content of the related to the Android version, see the novice blog & gt; Wrong thought 4 https://blog.csdn.net/weimingjue/article/details/87921494, if you still don't understand, your code to run under Android5.1 and click on your phone