[Android 8.0+] Add Android Picture in Picture support
#2.223 aberto em 17 de mar. de 2019
Métricas do repositório
- Stars
- (38.153 stars)
- Métricas de merge de PR
- (Mesclagem média 9d 17h) (17 fundiu PRs em 30d)
Description
With the latest Android Q beta release, apps installed outside the play store have their Screen Overlay permission revoked in 30 seconds after enabling them. This is to track down and stop shady apk apps which abuse the screen overlay option and get users to click on things they didn't mean to, malware etc. More info in article below
Problem is, NewPipe uses screen overlay for the popup and having to re-enable the permission every time a new popup video is being played... The ideal solution is to switch to the native PIP mode from Oreo API 26 and up, and leave the existing floating player code for Android Nougat and older.
https://developer.android.com/guide/topics/ui/picture-in-picture
Slowly as dev time goes on and more users move to Oreo and higher, the floating player method can switch to PIP completely.