Loading api/current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6627,7 +6627,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -46558,7 +46558,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -49379,6 +49379,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -49528,6 +49529,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme(); api/system-current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6872,7 +6872,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -50136,7 +50136,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -53325,6 +53325,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -53474,6 +53475,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme(); api/test-current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6657,7 +6657,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -46932,7 +46932,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -49757,6 +49757,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -49906,6 +49907,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme(); core/java/android/app/assist/AssistStructure.java +5 −5 Original line number Diff line number Diff line Loading @@ -595,7 +595,7 @@ public class AssistStructure implements Parcelable { @View.AutofillType int mAutofillType; @Nullable String[] mAutofillHints; AutofillValue mAutofillValue; String[] mAutofillOptions; CharSequence[] mAutofillOptions; boolean mSanitized; HtmlInfo mHtmlInfo; Loading Loading @@ -689,7 +689,7 @@ public class AssistStructure implements Parcelable { mAutofillType = in.readInt(); mAutofillHints = in.readStringArray(); mAutofillValue = in.readParcelable(null); mAutofillOptions = in.readStringArray(); mAutofillOptions = in.readCharSequenceArray(); final Parcelable p = in.readParcelable(null); if (p instanceof HtmlInfo) { mHtmlInfo = (HtmlInfo) p; Loading Loading @@ -850,7 +850,7 @@ public class AssistStructure implements Parcelable { sanitizedValue = null; } out.writeParcelable(sanitizedValue, 0); out.writeStringArray(mAutofillOptions); out.writeCharSequenceArray(mAutofillOptions); if (mHtmlInfo instanceof Parcelable) { out.writeParcelable((Parcelable) mHtmlInfo, 0); } else { Loading Loading @@ -1002,7 +1002,7 @@ public class AssistStructure implements Parcelable { * <p>It's only set when the {@link AssistStructure} is used for autofilling purposes, not * for assist. */ public String[] getAutofillOptions() { public CharSequence[] getAutofillOptions() { return mAutofillOptions; } Loading Loading @@ -1694,7 +1694,7 @@ public class AssistStructure implements Parcelable { } @Override public void setAutofillOptions(String[] options) { public void setAutofillOptions(CharSequence[] options) { mNode.mAutofillOptions = options; } Loading core/java/android/view/View.java +2 −1 Original line number Diff line number Diff line Loading @@ -7280,7 +7280,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * <li>The view contents does not include PII (Personally Identifiable Information), so it * can call {@link ViewStructure#setDataIsSensitive(boolean)} passing {@code false}. * <li>It must set fields such {@link ViewStructure#setText(CharSequence)}, * {@link ViewStructure#setAutofillOptions(String[])}, or {@link ViewStructure#setUrl(String)}. * {@link ViewStructure#setAutofillOptions(CharSequence[])}, * or {@link ViewStructure#setUrl(String)}. * </ol> * * @param structure Fill in with structured view data. The default implementation Loading Loading
api/current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6627,7 +6627,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -46558,7 +46558,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -49379,6 +49379,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -49528,6 +49529,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme();
api/system-current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6872,7 +6872,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -50136,7 +50136,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -53325,6 +53325,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -53474,6 +53475,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme();
api/test-current.txt +4 −2 Original line number Diff line number Diff line Loading @@ -6657,7 +6657,7 @@ package android.app.assist { method public float getAlpha(); method public java.lang.String[] getAutofillHints(); method public android.view.autofill.AutofillId getAutofillId(); method public java.lang.String[] getAutofillOptions(); method public java.lang.CharSequence[] getAutofillOptions(); method public int getAutofillType(); method public android.view.autofill.AutofillValue getAutofillValue(); method public android.app.assist.AssistStructure.ViewNode getChildAt(int); Loading Loading @@ -46932,7 +46932,7 @@ package android.view { method public abstract void setAlpha(float); method public abstract void setAutofillHints(java.lang.String[]); method public abstract void setAutofillId(android.view.ViewStructure, int); method public abstract void setAutofillOptions(java.lang.String[]); method public abstract void setAutofillOptions(java.lang.CharSequence[]); method public abstract void setAutofillType(int); method public abstract void setAutofillValue(android.view.autofill.AutofillValue); method public abstract void setCheckable(boolean); Loading Loading @@ -49757,6 +49757,7 @@ package android.widget { } public abstract interface Adapter { method public default java.lang.CharSequence[] getAutofillOptions(); method public abstract int getCount(); method public abstract java.lang.Object getItem(int); method public abstract long getItemId(int); Loading Loading @@ -49906,6 +49907,7 @@ package android.widget { method public void addAll(T...); method public void clear(); method public static android.widget.ArrayAdapter<java.lang.CharSequence> createFromResource(android.content.Context, int, int); method public java.lang.CharSequence[] getAutofillOptions(); method public android.content.Context getContext(); method public int getCount(); method public android.content.res.Resources.Theme getDropDownViewTheme();
core/java/android/app/assist/AssistStructure.java +5 −5 Original line number Diff line number Diff line Loading @@ -595,7 +595,7 @@ public class AssistStructure implements Parcelable { @View.AutofillType int mAutofillType; @Nullable String[] mAutofillHints; AutofillValue mAutofillValue; String[] mAutofillOptions; CharSequence[] mAutofillOptions; boolean mSanitized; HtmlInfo mHtmlInfo; Loading Loading @@ -689,7 +689,7 @@ public class AssistStructure implements Parcelable { mAutofillType = in.readInt(); mAutofillHints = in.readStringArray(); mAutofillValue = in.readParcelable(null); mAutofillOptions = in.readStringArray(); mAutofillOptions = in.readCharSequenceArray(); final Parcelable p = in.readParcelable(null); if (p instanceof HtmlInfo) { mHtmlInfo = (HtmlInfo) p; Loading Loading @@ -850,7 +850,7 @@ public class AssistStructure implements Parcelable { sanitizedValue = null; } out.writeParcelable(sanitizedValue, 0); out.writeStringArray(mAutofillOptions); out.writeCharSequenceArray(mAutofillOptions); if (mHtmlInfo instanceof Parcelable) { out.writeParcelable((Parcelable) mHtmlInfo, 0); } else { Loading Loading @@ -1002,7 +1002,7 @@ public class AssistStructure implements Parcelable { * <p>It's only set when the {@link AssistStructure} is used for autofilling purposes, not * for assist. */ public String[] getAutofillOptions() { public CharSequence[] getAutofillOptions() { return mAutofillOptions; } Loading Loading @@ -1694,7 +1694,7 @@ public class AssistStructure implements Parcelable { } @Override public void setAutofillOptions(String[] options) { public void setAutofillOptions(CharSequence[] options) { mNode.mAutofillOptions = options; } Loading
core/java/android/view/View.java +2 −1 Original line number Diff line number Diff line Loading @@ -7280,7 +7280,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * <li>The view contents does not include PII (Personally Identifiable Information), so it * can call {@link ViewStructure#setDataIsSensitive(boolean)} passing {@code false}. * <li>It must set fields such {@link ViewStructure#setText(CharSequence)}, * {@link ViewStructure#setAutofillOptions(String[])}, or {@link ViewStructure#setUrl(String)}. * {@link ViewStructure#setAutofillOptions(CharSequence[])}, * or {@link ViewStructure#setUrl(String)}. * </ol> * * @param structure Fill in with structured view data. The default implementation Loading