Universal-Debloater-Alliance / universal-android-debloater-next-generation

Cross-platform GUI written in Rust using ADB to debloat non-rooted Android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
2.57k stars 88 forks source link

feat(pkg-state): Try `disable` if `uninstall` fails #632

Open Rudxain opened 2 months ago

Rudxain commented 2 months ago

Describe the feature you want

UAD-NG should check if a package was reinstalled after uninstall, then fall-back to disable it.

There should be a log, or dialog, that notifies the user of the fall-back, to reduce potential confusion when UADNG doesn't do exactly what they wanted.

I believe that most users would prefer disabling rather than keep packs enabled, so there's no need to add a setting for this

[!note] The motivation for this issue was #513

Acknowledgements

AnonymousWP commented 1 month ago

Good idea! 🙂