Share your experience!
Hi. I just update Android 6.0 on my Xperia M5 and my camera, gallery, contacts and so on, he incerases permission ''screen overlay'' and ''for this settings, first turn off screen overlay from Settings>Apps'' and i accessed the settings and apps, but i was sent in ''Draw over the App'' or something and i couldn't turn off the screen overlay. So i can't use all the app;icationsin detail. What can i do? Please help me quickly. Thanks. 
Well, from what I understand, it could be due to enhanced security or permission implemented in Android 6.0 that caused these issues.
The current workaround for now if you do not know which apps are allowed for screen overlay, you may wish to boot your device into safe mode, then head to settings > Apps > the gear icon on the top > Draw over other apps > and disable all of it.
No, these steps are not working in case of Xperia M5.
From my experience, this only happens when an app such as FB Messenger is present or running while granting permission to an app. Close FB Messenger and the Screen Overlay issue should be fixed. Close any apps that also use screen overlay though I only use FB Messenger that causes the issue. Hope this helps. 
@bb1993@Silvester14@Hsh@Alaa_xperiaz2@sumank
Do you guys have clean master installed? Can you check if the same occurs in safe mode?