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

Commit 6e3bff66 authored by Sally Yuen's avatar Sally Yuen Committed by Android (Google) Code Review
Browse files

Merge "Change param name to Duration in setMinDurationBetweenContentChanges"

parents da246fa0 37cf7a0f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1817,13 +1817,12 @@ public class AccessibilityNodeInfo implements Parcelable {
     * </p>
     *
     * @see AccessibilityEvent#getContentChangeTypes for all content change types.
     * @param minDurationBetweenContentChanges the minimum duration between content change events.
     * @param duration the minimum duration between content change events.
     *                                         Negative duration would be treated as zero.
     */
    public void setMinDurationBetweenContentChanges(
            @NonNull Duration minDurationBetweenContentChanges) {
    public void setMinDurationBetweenContentChanges(@NonNull Duration duration) {
        enforceNotSealed();
        mMinDurationBetweenContentChanges = minDurationBetweenContentChanges.toMillis();
        mMinDurationBetweenContentChanges = duration.toMillis();
    }

    /**