News for hackers. Stuff that matters.
Re:Android vendors, don’t kill my app by Arnt on Monday January 14, 2019 @02:46AM (#18901381)
And worse, what they're doing confuses android's own code into thinking the apps are crashy.

So if you run e.g. (new JobInfo.Builder(1234, name)).setRequiresCharging(true).setRequiresDeviceIdle(true)... to do something heavy (like reindexing an on-device database) while the phone is charging, that job will simply not be run on some phones. You have to check whether it's been run at app startup, and if necessary run it while the user is actively using your app.

There are no comments on this comment yet.