Merge "Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync." into pi-dev
This commit is contained in:
@@ -2464,8 +2464,9 @@ public abstract class ContentResolver {
|
||||
* @param account the account to specify in the sync
|
||||
* @param authority the provider to specify in the sync request
|
||||
* @param extras extra parameters to go along with the sync request
|
||||
* @param pollFrequency how frequently the sync should be performed, in seconds. A minimum value
|
||||
* of 1 hour is enforced.
|
||||
* @param pollFrequency how frequently the sync should be performed, in seconds.
|
||||
* On Android API level 24 and above, a minmam interval of 15 minutes is enforced.
|
||||
* On previous versions, the minimum interval is 1 hour.
|
||||
* @throws IllegalArgumentException if an illegal extra was set or if any of the parameters
|
||||
* are null.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user