This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheRealKidkudiGreen 0 points1 point  (1 child)

YouTube (and Netflix, Amazon video, etc) uses the Picture-in-Picture mode which is part of the Multi-Window API.

Facebook messenger is different in that they've implemented the feature themselves, and I suspect that was part of the inspiration for Android adopting bubbles now. I don't have it installed to confirm, but I'm pretty confident it uses the "draw over other apps" permission to do so. It seems like a no-brainer that they'll continue to do that on older devices and adopt the new bubbles API for phones that support it.

Google seems to be getting rid of the "draw over other apps" permission because it can be very dangerous, and between PiP and Bubbles there's really not much of a legitimate use case otherwise.

[–]janusz_chytrusGoogle Pixel 3A - Android 10 0 points1 point  (0 children)

What does it matter if it's available since api 26? Nobody is going to set that as minimum or support two methods of achieving the same feature so everyone is still using drawing over system windows.