I have an application that comes baked onto about 10 unrooted device OS's. Located in /system/priv-app. We're trying to update the application and prevent the users from uninstalling a critical update or clear the data.
I've come across a way to prevent the user from clearing data (here), but I'm looking for a way to disable the "Disable" button from the app menu. Anyone know how this works? Is this something in the app configuration or is it only applicable through the OS code?