A curious case of SyncAdapter syncing

tl;dr Any modification (add, remove, change password) to any Account from the AccountManager will trigger a sync for all of the system's SyncAdapters, including the one you've just created in your app! Context In my attempt to better understand how a SyncAdapter works, I've followed the official documentation and…

Force your SyncAdapter to sync

NOTE: This is not a tutorial of what is or how to create your own SyncAdapter. If you're looking for this, the Android developer doc is your friend! I've been recently playing with SyncAdapter and I found myself in the situation where I have to trigger a sync on user…