This story was initially revealed and final up to date .
It seems like Android 11 has solely been out for 5 minutes, however information concerning the subsequent main launch is about to come back thick and quick. If final yr’s schedule is something to go by, we could possibly be getting the primary Android 12 developer preview as early as subsequent month. We have heard a few small tidbits about it up to now — Android Runtime is set to become a Project Mainline module and it’ll be easier to use alternative app stores — however this newest information sounds particularly intriguing.
Should you’re like me, you will have a bunch of unused apps in your telephone that you will positively use sometime… perhaps. We have been saying that for months, however we’re about to fireplace them up any day now, maybe. Till we do get round to utilizing them, they only take up area on our telephones. In accordance with a pair of Android Open Source Project (AOSP) Gerrit entries that XDA Developers received tipped about, Android 12 might introduce a function that can enable these dormant apps to enter a state of hibernation.
The AOSP code adjustments counsel that Google is engaged on a brand new system service that can put idle apps right into a deep sleep that might additionally enable storage to be optimized.
It isn’t clear what precisely will decide that an app might be put into hibernation. It might occur routinely when an app hasn’t been used for a sure size of time or it could possibly be a guide setting so you possibly can select to hibernate an app till you want it once more. Maybe each situations can be potential. The Android 12 Developer Preview would possibly come too quickly for this to be included in any practical kind, nevertheless it’s an fascinating prospect we’ll doubtless hear extra about within the coming months.
According to the latest relevant AOSP code change, as tweeted by Mishaal Rahman, Android’s upcoming app hibernation function will work in a different way relying on whether or not it is enabled for a single person or for all customers. If only a single person on a multi-user system, app cache for that particular person can be cleared.
A todo referenced within the code tells us that the following step can be to help package-level hibernation that can have an effect on all customers, though it is unclear how that can differ. It is potential that the entire app’s information can be cleared and/or that the app itself will successfully be faraway from the system, to be reinstalled when the person turns off hibernation. What all of it will appear to be on the entrance finish can also be nonetheless a thriller, so stand by for extra particulars as we get them.
So the primary particulars of Android’s app hibernation function are right here. If an app is hibernated for a single person, the system will clear cache. Google will add extra for package-level hibernation (app is hibernated for all customers).
— Mishaal Rahman (@MishaalRahman) January 15, 2021