Hello, I wanted devs and users feedback about this idea to implement on the emulator on a separate repo.
This will be my first Android development and as such I'll need the help of LLM tools which, depending on the density the code I may or may not to be able to review as a human. So it will be more as a proof of concept to:
- check how LLM tools would work for this
- have my first big project LLM help/usage.
- see how much money I'll spend
- see how much time I'll have available to spend.
Any of those 4 may fail. Additionally, the proper way to do this would be to have multiple private spaces available per profile. This idea is a stop-gap solution, for the emulator-only.
Anyway, for the good parts, LLM-assisted and human-reviewed:
Quick brain-dump for anyone who’s wanted a “disable these 12 apps with one click” switch without root.
WHAT IT IS
- New page under Settings ▸ Apps: Disabled-Apps Sets
- Lets you create named sets (Work, Games, etc.) and tick which apps belong to each set
- One master checkbox enables/disables every app in that set instantly; the rest of the OS acts as if you’d toggled each package by hand
- No third-party code involved – only the Settings app holds the permission, so external apps can’t mess with it
IMPLEMENTATION (AOSP patch, GrapheneOS test build)
- Adds a tiny system service that stores an XML list in /data/system/
- Hooks PackageManagerService.isEnabled() so disabled-set apps simply vanish from launcher/recents/intent resolver
- Exposes an intent (android.settings.DISABLED_APPS_SETS) so you can put a Settings shortcut on the home screen for one-tap access
- To build and boot-test on the emulator (I thought it'd be on cuttlefish but after skimming the GOS docs it will probably be the default emulator)
SCOPE / DISCLAIMER
- Meant only for experiments on a GOS test image; not intended for daily-driver ROMs; only for idea exploration, scratch my itch and be able to abandon it if/when one of the 4 conditions above fails.
Summary: Android KDE-style “activities” for apps (but without root or ADB scripts).