Merge "Change param name to Duration in setMinDurationBetweenContentChanges"

This commit is contained in:
Sally Yuen
2023-02-06 20:15:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}
/**