It could be onerous to consider, however we’re possible solely just a little over a month away from the discharge of the primary Android 12 Developer Preview. In spite of everything, the primary Android 11 Developer Preview was launched again in February of 2020! We’ve been scouring the Android Open Supply Venture (AOSP) Gerrit for hints of recent options coming to the following model of Android, and not too long ago we’ve noticed proof that Google is engaged on an app hibernation characteristic for Android 12.
Primarily based on a few code modifications submitted to AOSP, Google is including a brand new app hibernation system service “that manages app hibernation state, a state apps can enter meaning they aren’t being actively used and may be optimized for storage.”
Sadly, we don’t have any extra particulars about this characteristic. For instance, we don’t understand how apps can enter this state. Is it robotically decided based mostly on app utilization statistics? Can customers manually select to power apps to hibernate? We additionally don’t understand how apps can be optimized for storage, nor do we all know how the OS will inform the person which apps have been hibernated.
Our guess is that app hibernation can be computerized just like the auto-revoking permissions characteristic launched in Android 11 and that optimization includes compression of the APK and different app assets, however we gained’t know for certain till extra code modifications are submitted. We additionally don’t know for certain if this characteristic will truly make its technique to Android 12 because the commits haven’t been merged but. There’s nonetheless time for brand new options like this to be added, however the window is closing quickly. As soon as we be taught extra about this app hibernation service or another options coming to Android 12, we’ll share that data.
Because of XDA Acknowledged Developer luca020400 for the tip!
Replace 1: Clearing App Cache
Whereas the commits for the app hibernation characteristic haven’t but been merged — that means we nonetheless don’t know for certain if it’ll find yourself in Android 12 — we now have now discovered a bit extra details about how the characteristic works. In accordance with the code submitted in a brand new commit (as soon as once more noticed by XDA Acknowledged Developer luca020400), the app hibernation characteristic will robotically clear an app’s cache recordsdata. The quantity of storage that can be freed up is determined by the app in query — video streaming and messaging apps can cache lots of of megabytes price of knowledge — however this is just one a part of the app hibernation characteristic. In a remark, Google devs trace at extra potential storage financial savings through “bundle degree hibernation.” This might confer with compressing the app and its assets or to different actions to scale back the area taken up by an app’s set up.