feat: Add a Debloat settings page #22
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/tv-debloat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Google TV and Sony TVs ship apps people never use, like feedback senders, bug report tools and screensaver providers. Turning them off meant running
adb shell pm disable-userfrom a computer.Fix: Settings -> Home, debloat & backup has a new Debloat page that turns those apps off and back on from the TV itself.
TvDebloatCatalog, sourced from Universal Android Debloater), each with a one-line description. Left, Right or OK toggles a row between On and Off withpm disable-user --user 0/pm enable --user 0. Nothing is uninstalled, so every change can be undone from the same page.GoogleTvSetupis nowLocalAdb, used by both Default home setup and Debloat. They share the existing one-operation-at-a-time flag. Package names are checked against a regex and commands are only built from the catalog. Errors read "ADB command failed:" instead of "ADB setup failed:".Adds
TvDebloatCatalogTest(9 JVM tests for the catalog contents, the commands it builds, the package-name check and which entries count as recommended), a README section and an Unreleased changelog entry.Build, 218 unit tests and lint pass. On an Android 14 TV emulator, the page listed the three catalog apps that image has, toggling off and on matched
pm list packages -d, Turn off recommended disabled both recommended apps, the row hid when they were missing, D-pad focus landed on the dialog buttons, and Cancel on the debugging prompt showed the error after about 20 seconds. Not yet tried on a real TV: the "could not connect" error with Network debugging off, which the emulator can't produce, and whethercom.google.android.tungsten.setupwraith(which Default home setup already disables) breaks volume control on a Sony Bravia, as UAD reports.Intent: let people turn off unused preinstalled TV apps from the launcher, using the same local ADB connection that Default home setup already uses.
Not a goal:
setupwraith.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.