/** * Is a sync currently in progress? * * @return true if Android is currently syncing the underlying Android Account. */ public boolean isCurrentlySyncing() { boolean active = false; for (String authority : AndroidFxAccount.getAndroidAuthorities()) { active |= ContentResolver.isSyncActive(account, authority); } return active; }