I’m not 100% sure we both are talking about the same things but I’m going to assume you mean playing songs on Spotify and then having your phones lockscreen display that song.
The answer to that is UI APIs, your phone likely exposed APIs to developers who make apps for your phone. They can use these system APIs to tell your phone’s music display UI thing what song you are playing and what the buttons (next, prev, stop/play should do)
These APIs are client side but I wouldn’t be surprised if they phoned home in some way.
An example of this could be that the internal UI API may phone home to tell Google that a client is choosing Spotify as their music player.
That being said I don’t know if this is practical or likely. It is possible and doable though.
That’s not what they were referring to. I have a setting on my pixel 7 (and have had it on 2 older pixels) that automatically listens foe music playing anywhere around the phone and shows the title on the always on display and on the lockscreen. It samples audio once every several seconds and listens for music and if it hears some it activates, records some of the song, and finds the info. The battery usage is negligible in my experience and it’s actually very useful, if you don’t care about privacy.
IIRC, it uses a database of common and popular songs stored locally on your phone (possibly adapted to what Google knows about your taste in music, idk) and only goes online for matches when you do a manual song search.
Then how does Google figure out what music is playing in the background to display it on the lock screen?
I’m very happy to have GrapheneOS on my phone now.
I’m not 100% sure we both are talking about the same things but I’m going to assume you mean playing songs on Spotify and then having your phones lockscreen display that song.
The answer to that is UI APIs, your phone likely exposed APIs to developers who make apps for your phone. They can use these system APIs to tell your phone’s music display UI thing what song you are playing and what the buttons (next, prev, stop/play should do)
These APIs are client side but I wouldn’t be surprised if they phoned home in some way.
An example of this could be that the internal UI API may phone home to tell Google that a client is choosing Spotify as their music player.
That being said I don’t know if this is practical or likely. It is possible and doable though.
That’s not what they were referring to. I have a setting on my pixel 7 (and have had it on 2 older pixels) that automatically listens foe music playing anywhere around the phone and shows the title on the always on display and on the lockscreen. It samples audio once every several seconds and listens for music and if it hears some it activates, records some of the song, and finds the info. The battery usage is negligible in my experience and it’s actually very useful, if you don’t care about privacy.
IIRC, it uses a database of common and popular songs stored locally on your phone (possibly adapted to what Google knows about your taste in music, idk) and only goes online for matches when you do a manual song search.