- "The kind of use case you have in mind is exactly why there's a UI to control VPN or input methods."
Putting the UI there however breaks my use case, since I want my Tasker script to do it without
intervention. However, I do not
want some random APK to do it without intervention, even if
there were some "take it or leave it" permissions in the Manifest.
Android has decided that a UI must be present, because of the second case, to protect the "billions" from your earlier post. But that denies me (and the "millions") the ability to do the first case, unless I/we use root (or a custom recovery) to push an APK to /system.
I agree that "Developer Options" is not the place to put "Advanced User" options. But then what is the place for advanced user options that are too dangerous for the "billions", but desired by the "millions"? Because that's what a lot of us use root for, and it would close a big hole if there was a supported way to do things like this.
What about a UX like Accessibility or Device Administrators use? This way, in addition to installing the APK with whatever permissions, I also
have to explicitly grant the it permission to make changes behind my back? Some pretty scary stuff lives under Device Administrators, why not add more scary stuff?