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

Commit 5c0d7b3a authored by Liefu Liu's avatar Liefu Liu Committed by Makoto Onuki
Browse files

Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum...

Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync.

Bug: 76033438
Change-Id: I1ccb7ae174f8f13dae24296a3fb7e9dfcd77c7fa
Fixes: 76033438
Test: javadoc only. presubmit only.
parent dc567733
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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.
     */