android - How to reset PeriodicSync -


Is there a way to reset the duration of a peridiciocine ??

I mean, if the duration has been 10 minutes, 7 minutes since the last sync, reset this period so that the next sync is not within 10 minutes, not 3.

ContentResolver does not have any way to try it:

  • Include ContentResolver.addPeriodicSync () on an existing periodic sync. As Javadox states that the period has been updated, but it has not been reset.
  • Pause and start periodic sync

    Thank you.

    I have a similar problem and could not find a way to update settings only:

      ContentResolver.removePeriodicSync   

    and

      ContentResolver.addPeriodicSync   

    Change the settings and That you write, it runs sync

Comments