Newpipe: [Android Q] Replace Overlay with Picture in Picture, due to security changes

Created on 17 Mar 2019  路  2Comments  路  Source: TeamNewPipe/NewPipe

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

https://www.androidpolice.com/2019/03/16/android-q-steps-up-the-fight-up-against-overlay-based-malware/

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.

devicsoftware specific help wanted player

All 2 comments

Sad. Google is 100% annoying recently. So yea I guess we need pip now. We might also need help for that.

No issue so far with the emulator. Tested by rebooting the emulator.

My AVD Config

Was this page helpful?
0 / 5 - 0 ratings

Related issues

f242 picture f242  路  3Comments

fnadde42 picture fnadde42  路  3Comments

Aevann picture Aevann  路  3Comments

ghost picture ghost  路  3Comments

PanderMusubi picture PanderMusubi  路  3Comments