Be extra careful before deleting accounts in observer
* It appears that silent errors in binder transaction might be
causing us to delete Exchange accounts inappropriately
* Instead of directly deleting AccountManager accounts when we
detect a missing EmailProvider account, we instead invoke
the account reconciler, which runs entirely within the Email
application
* After that, we check again, and if the account is really
missing, we stop active syncs
* Add extra logging related to the detection of deleted
accounts.
* Trigger AccountObserver on the notifier URI instead of
the content URI to reduce observer spam
Bug: 5367821
Change-Id: Id0ed16713cf40aa14baaf7e0697a367754c492b0
1 file changed