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

Commit 37cf7a0f authored by sallyyuen's avatar sallyyuen
Browse files

Change param name to Duration in setMinDurationBetweenContentChanges

Test: n/a (simple name change)
Bug: 260811959
Change-Id: I798890be7bb1be84fcbd5d8b4e5481bdc249fbd9
parent dfe14efb
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();
    }

    /**