Multiverse app Active Member Licensed User Longtime User Aug 5, 2017 #1 By now, everyone has heard about whats to come on Android O. Wise Limits will apply to background services, preventing apps from running in the background for too long. The goal is to dramatically reduce battery consumption, keeping you up and running through your day. Click to expand... The background services in Android O will be destroyed after a couple of seconds of app close. Will the same happen to Sticky Services? If yes, then how are the apps like messaging apps supposed to carry out the background tasks?
By now, everyone has heard about whats to come on Android O. Wise Limits will apply to background services, preventing apps from running in the background for too long. The goal is to dramatically reduce battery consumption, keeping you up and running through your day. Click to expand... The background services in Android O will be destroyed after a couple of seconds of app close. Will the same happen to Sticky Services? If yes, then how are the apps like messaging apps supposed to carry out the background tasks?
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2017 #2 I'm using Android O for several months now and the changes do not look dramatic. Messaging apps do not rely on sticky services. They use standard push notifications to wake up the app when it is in the background. Upvote 0
I'm using Android O for several months now and the changes do not look dramatic. Messaging apps do not rely on sticky services. They use standard push notifications to wake up the app when it is in the background.
KMatle Expert Licensed User Longtime User Aug 6, 2017 #3 There is and never was a good style running code "for a long time". Modern OS' work via events (intents). So check your code if you really need a sticky service. Upvote 0
There is and never was a good style running code "for a long time". Modern OS' work via events (intents). So check your code if you really need a sticky service.
LucaMs Expert Licensed User Longtime User Aug 6, 2017 #4 Erel said: Messaging apps do not rely on sticky services. They use Click to expand... Ok, but... Multiverse app said: The background services in Android O will be destroyed after a couple of seconds of app close. Will the same happen to Sticky Services? Click to expand... ? Upvote 0
Erel said: Messaging apps do not rely on sticky services. They use Click to expand... Ok, but... Multiverse app said: The background services in Android O will be destroyed after a couple of seconds of app close. Will the same happen to Sticky Services? Click to expand... ?
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2017 #5 I guess that they will be killed sooner in Android O. Upvote 0
techknight Well-Known Member Licensed User Longtime User Aug 7, 2017 #6 I was going to mention, as far as I can remember, android always did kill dormant or zombie services to free up memory anyways. Upvote 0
I was going to mention, as far as I can remember, android always did kill dormant or zombie services to free up memory anyways.