After filtering which apps could do that, I was able to pinpoint the problem app and use Titanium Backup to freeze it (check if it is the guilty one).
Code: Select all
Advanced Permission Manager https://play.google.com/store/apps/details?id=com.gmail.heagoo.pmaster
I'd be happy if you could share what apps you've found out could do that for others to know.
In my case it was Lux Auto Brightness (1.75) [CM 12.1/Android 5.1]; after I upgraded it, the problem has disappeared (it disables itself automatically when an installation is detected).