Exchange sync fixes.

- When wiping a mailbox, supply the correct account object
  to requestSync. (Account#mAmAccount is actually null.)
- When wiping a mailbox, don't treat it as looping.
- Do not try to sync when the mailbox is not in the current
  account. Still not sure how we get in this state, but this
  is never a good thing to do.

Bug: 10965484

Change-Id: I24cbc9985282e54386765139faf5ff8edfac8cd7
3 files changed