Update hidden/frozen apps
Describe the feature
When a profile/device is managed via a Profile/Device Owner (e.g. via Shelter/Dhizuku), setApplicationHidden can "freeze" an app.
As someone more experienced than me puts it
From https://review.calyxos.org/c/CalyxOS/platform_frameworks_base/+/11873
PackageManager.MATCH_UNINSTALLED_PACKAGES- as that's whatsetApplicationHiddendoes.It uninstalls the app - but keeps the APK and data around, ready for re-install when you unfreeze/unhide.
Originally posted by @chirayudesai in #518
The issue linked has more details about this AOSP feature.
So basically, an app can be frozen when the screen turns off, and unfrozen via a shortcut on the main screen with the app's icon.
The benefits are that the app is effectively uninstalled and therefore cannot wake up on its own or receive notifications or use battery.
Play Store can update the app while it is in the frozen state, however I can't see any OSS app store that can update frozen apps without unfreezing them.
I would love for Obtainium to be able to update apps while leaving them frozen.