Merge "Update AssistStructure.ViewNode#getMaxTextLength() javadoc."

This commit is contained in:
TreeHugger Robot
2020-09-09 02:57:58 +00:00
committed by Android (Google) Code Review

View File

@@ -36,8 +36,6 @@ import android.view.WindowManagerGlobal;
import android.view.autofill.AutofillId; import android.view.autofill.AutofillId;
import android.view.autofill.AutofillValue; import android.view.autofill.AutofillValue;
import com.android.internal.util.Preconditions;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
@@ -1676,8 +1674,9 @@ public class AssistStructure implements Parcelable {
} }
/** /**
* Returns the maximum length of the text associated with this node node, or {@code -1} * Returns the maximum length of the text associated with this node, or {@code -1} if not
* if not supported by the node or not set. * supported by the node or not set. System may set a default value if the text length is
* not set.
* *
* <p>It's only relevant when the {@link AssistStructure} is used for autofill purposes, * <p>It's only relevant when the {@link AssistStructure} is used for autofill purposes,
* not for assist purposes. * not for assist purposes.