I have an app which resides in system memory of the phone. It's a kind of a phone lock app which requires password to access phone.
I need the app disappaer from the phone once a correct password is entered. Right now, what I have done is that I have self uninstalled the app using Intent.DELETE upon correct password. But the problem is that when the phone is factory reset, the app appear again asking for password.
So is there a way to programmatically uninstall the system app, so it doesn't appear even after the phone is factory reset?
I have found a couple of posts here on Stack Overflow but couldn't get the code working.