So a few days ago I build an update for my custom android car tablet with my own launcher (based on nexus 7 2013). I added a few new features and some fixes, and I added accidentally the device admin permission together with the install packages permission.
After the update was installed on the tablet, the device opened always the Android for work app when clicked something which should start an external app (like Spotify or Maps). I thought it might be something with these permission and I deleted them and reinstalled a new version of the app (not updated!), but it didn't worked, it still started the Android for work app.
Then I uninstalled the Android for work app, and now the google now app started. After uninstalling it too, the settings app keep launching?!
Has anyone an idea why this is happening and what I can do to get rid of it?
Intent
, but since this is related to your own app/update, I'm not sure we can debug it without any code or more hints (however, it's off-topic here due to development-related). You could try Stack Overflow, also try to explain the case as detailed as possible (like, what modifications you've applied) since I think it's a bit too broad as of current writing (debugging issue is off-topic on SO).