Yeah, there is something wrong with Graphene. It looks like sometimes the OS doesn't send the pause notification to the app when you send it to the background. I am not sure how to solve this.
I've alerted this but note certain situations lets apps still run. I'm not able to reproduce it. Also note minimizing the app =/= closing the app. They're different, you must use the recents screen.
Apps have to go out of their way and have a prominent notification / remain a foreground service and that stops it. Apps and foreground services can also re-start other apps (that's why the disable feature exists)
Anyways CCing so everyone else can see: @GrapheneOS
Thank you! Whatever it is, the issue seems to be specific to GOS, not stock Pixel. @460c25e6 & @GrapheneOS need to talk. This has been wrecking havoc on battery life for too long.
What happened to the keyboard bug in Amethyst? It was about a year ago? You couldnt use OpenBoard or similar keyboards with Amethyst. I don't remember how the bug was fixed.
OpenBoard like keyboards and Amethyst about a year ago. Vitor said there was nothing titWasnt it last year happen last year?
Yes. I have seen so many screenshots of the settings page that show apps running on the background when they shouldn't that I strongly believe there is a bug somewhere. Again, this never happens on stick and Samsung versions.
The only thing I know is the fact that Graphene keeps running amethyst even though we have no background service. It affects other apps as well and it started about 6 months ago. And again, I have seen this bug dozens of times with different users. ALL of them are on graphene. We have many more users on stock and on Samsung versions and those NEVER detected it.
Sure, but we pause the entire app when the app goes to the background. I personally reviewed this. Not only with us, but in all dependencies. And again, this only happens on graphene. We have no reports of any other Android os with this issue.
I think the OS either doesn't send the on pause call when the app is sent to the background or when you are sliding through apps it calls the on resume but never on pause to turn it off...
Just to add an anecdote, every version of GOS and non-Play Amethyst I've ever used across multiple devices has run media in the background even after app close. Force closing is the only way to stop it.
No, this is wrong. GrapheneOS does not change how this works and does not have issues with it. The bug is specific to your app and is not caused by GrapheneOS or specific to GrapheneOS. Your app relies on Google Play to work properly and works fine for users on GrapheneOS with sandboxed Google Play.
It does not work properly for users without Google Play in general, It's not specific in any way to GrapheneOS. Test on Android 15 QPR1 on any OS without Google Play. The only thing we can do is add a notice to the app explaining it doesn't work properly without Google Play due to an app bug.
I can confirm I'm running sandboxed Google Play on GOS with non Google Play Amethyst (fdroid version). Still runs in the background. See screenshot. https://friendica-leipzig.de/photo/media/474751
Uno •
MountainLion •
Uno •
Vitor Pamplona •
MountainLion •
Vitor Pamplona •
Chris •
MountainLion •
Final •
Apps have to go out of their way and have a prominent notification / remain a foreground service and that stops it. Apps and foreground services can also re-start other apps (that's why the disable feature exists)
Anyways CCing so everyone else can see: @GrapheneOS
Chris •
GrapheneOS •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
crimsonleaf363 •
OpenBoard like keyboards and Amethyst about a year ago. Vitor said there was nothing titWasnt it last year happen last year?
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
cloud fodder •
Vitor Pamplona •
GrapheneOS •
https://issuetracker.google.com/issues/232890407#comment11
It's an app bug, not OS bug.
Skipper •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
GrapheneOS •
Vitor Pamplona •
GrapheneOS •
mrequeso 🧀 •
GrapheneOS •
Chris •
GrapheneOS •
GrapheneOS •
GrapheneOS •
Chris •
GrapheneOS •