News for hackers. Stuff that matters.
Re:The First Beta of Android 15 by bassdart on Saturday April 13, 2024 @12:01PM (#40024005)
> Apps with the REQUEST_DELETE_PACKAGES permission can call the PackageInstaller requestArchive method to request archiving a currently installed app package, which removes the APK and any cached files, but persists user data.

Why do they call it archiving, it looks like it's just executing pm uninstall -k to keep the user data?

So this is at least a step into the right direction, how uninstalling was handled since decades: On uninstall never ever fiddle with user data.

> users will see a UI treatment to highlight that those apps are archived. If a user taps on an archived app, the responsible installer will get a request to unarchive it

What happens if one tries to start an "archived" app which isn't available on the store anymore?

There are no comments on this comment yet.