Merge "Update AssistStructure.ViewNode#getMaxTextLength() javadoc." am: aa9a577c35

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12506304

Change-Id: I1968ab43a4075a23bca38ffebd3a7f39b36c7fdf
This commit is contained in:
TreeHugger Robot
2020-09-09 03:02:55 +00:00
committed by Automerger Merge Worker

View File

@@ -36,8 +36,6 @@ import android.view.WindowManagerGlobal;
import android.view.autofill.AutofillId;
import android.view.autofill.AutofillValue;
import com.android.internal.util.Preconditions;
import java.util.ArrayList;
import java.util.Arrays;
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}
* if not supported by the node or not set.
* Returns the maximum length of the text associated with this node, or {@code -1} if not
* 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,
* not for assist purposes.