I have an Android application that uses Accounts to synchronize data with my server. Yesterday I noticed that, if I click Clear Data in Settings->Apps->My App, the application data is removed but the user account isn't. This leads to consistency problems in my server, since suddenly the user's data is restarted without receiving a restart message.
Is there any way to delete the Account when the user clicks Clear Data? Or at least capture the event to be able to send a message to my server.
Thanks!