Change param name to Duration in setMinDurationBetweenContentChanges

Test: n/a (simple name change)
Bug: 260811959
Change-Id: I798890be7bb1be84fcbd5d8b4e5481bdc249fbd9
This commit is contained in:
sallyyuen
2023-02-02 12:18:26 -08:00
parent dfe14efbf5
commit 37cf7a0f3e

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