JakeWharton / Telecine

Record full-resolution video on your Android devices.
Apache License 2.0
2.47k stars 460 forks source link

Detect if "Draw over other apps" permission is missing and fixes it #152

Closed SimonMarquis closed 8 months ago

SimonMarquis commented 7 years ago

This permission should be granted automatically when installed from the Play Store. But some privacy related apps can automatically disable this permission. The fix consists in asking the System settings if the app is allowed to "draw over others". If the permission is not allowed, the user is redirect to the corresponding settings screen. This also fixes #147

NightlyNexus commented 7 years ago

oh, interesting. How can this permission be denied when targeting <23?

SimonMarquis commented 7 years ago

I think since there are multiple ways you can trigger this: