Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d62fd067 authored by Makoto Onuki's avatar Makoto Onuki Committed by android-build-merger
Browse files

Merge "Updated the javadoc of ContentResolver.addPeriodicSync to correct the...

Merge "Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync." into pi-dev am: b630550e
am: 5e8a50f1

Change-Id: Ia555e6a2b5c387a86966cd3e10c2e2af15d95589
parents ffd52586 5e8a50f1
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -2464,8 +2464,9 @@ public abstract class ContentResolver {
     * @param account the account to specify in the sync
     * @param account the account to specify in the sync
     * @param authority the provider to specify in the sync request
     * @param authority the provider to specify in the sync request
     * @param extras extra parameters to go along with 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
     * @param pollFrequency how frequently the sync should be performed, in seconds.
     *                      of 1 hour is enforced.
     * 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
     * @throws IllegalArgumentException if an illegal extra was set or if any of the parameters
     * are null.
     * are null.
     */
     */