diff options
Diffstat (limited to 'android/app/assist/AssistStructure.java')
-rw-r--r-- | android/app/assist/AssistStructure.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/android/app/assist/AssistStructure.java b/android/app/assist/AssistStructure.java index e491a4f9..d9b7cd7e 100644 --- a/android/app/assist/AssistStructure.java +++ b/android/app/assist/AssistStructure.java @@ -616,9 +616,6 @@ public class AssistStructure implements Parcelable { CharSequence[] mAutofillOptions; boolean mSanitized; HtmlInfo mHtmlInfo; - int mMinEms = -1; - int mMaxEms = -1; - int mMaxLength = -1; // POJO used to override some autofill-related values when the node is parcelized. // Not written to parcel. @@ -716,9 +713,6 @@ public class AssistStructure implements Parcelable { if (p instanceof HtmlInfo) { mHtmlInfo = (HtmlInfo) p; } - mMinEms = in.readInt(); - mMaxEms = in.readInt(); - mMaxLength = in.readInt(); } if ((flags&FLAGS_HAS_LARGE_COORDS) != 0) { mX = in.readInt(); @@ -882,9 +876,6 @@ public class AssistStructure implements Parcelable { } else { out.writeParcelable(null, 0); } - out.writeInt(mMinEms); - out.writeInt(mMaxEms); - out.writeInt(mMaxLength); } if ((flags&FLAGS_HAS_LARGE_COORDS) != 0) { out.writeInt(mX); @@ -1453,39 +1444,6 @@ public class AssistStructure implements Parcelable { public ViewNode getChildAt(int index) { return mChildren[index]; } - - /** - * Returns the minimum width in ems of the text associated with this node, or {@code -1} - * if not supported by the node. - * - * <p>It's only relevant when the {@link AssistStructure} is used for autofill purposes, - * not for assist purposes. - */ - public int getMinTextEms() { - return mMinEms; - } - - /** - * Returns the maximum width in ems of the text associated with this node, or {@code -1} - * if not supported by the node. - * - * <p>It's only relevant when the {@link AssistStructure} is used for autofill purposes, - * not for assist purposes. - */ - public int getMaxTextEms() { - return mMaxEms; - } - - /** - * Returns the maximum length of the text associated with this node node, or {@code -1} - * if not supported by the node or not set. - * - * <p>It's only relevant when the {@link AssistStructure} is used for autofill purposes, - * not for assist purposes. - */ - public int getMaxTextLength() { - return mMaxLength; - } } /** @@ -1818,21 +1776,6 @@ public class AssistStructure implements Parcelable { } @Override - public void setMinTextEms(int minEms) { - mNode.mMinEms = minEms; - } - - @Override - public void setMaxTextEms(int maxEms) { - mNode.mMaxEms = maxEms; - } - - @Override - public void setMaxTextLength(int maxLength) { - mNode.mMaxLength = maxLength; - } - - @Override public void setDataIsSensitive(boolean sensitive) { mNode.mSanitized = !sensitive; } |