Renamed ViewNode's getAutoFillHints() to getAutofillHints()
Test: CtsAutoFillServiceTestCases pass Bug: 35956626 Bug: 35364993 Change-Id: I2ad5a625da6ed4ff889315923c81cfd629e34074
This commit is contained in:
@@ -6625,7 +6625,7 @@ package android.app.assist {
|
||||
|
||||
public static class AssistStructure.ViewNode {
|
||||
method public float getAlpha();
|
||||
method public java.lang.String[] getAutoFillHints();
|
||||
method public java.lang.String[] getAutofillHints();
|
||||
method public android.view.autofill.AutofillId getAutofillId();
|
||||
method public java.lang.String[] getAutofillOptions();
|
||||
method public int getAutofillType();
|
||||
|
||||
@@ -6868,7 +6868,7 @@ package android.app.assist {
|
||||
|
||||
public static class AssistStructure.ViewNode {
|
||||
method public float getAlpha();
|
||||
method public java.lang.String[] getAutoFillHints();
|
||||
method public java.lang.String[] getAutofillHints();
|
||||
method public android.view.autofill.AutofillId getAutofillId();
|
||||
method public java.lang.String[] getAutofillOptions();
|
||||
method public int getAutofillType();
|
||||
|
||||
@@ -6655,7 +6655,7 @@ package android.app.assist {
|
||||
|
||||
public static class AssistStructure.ViewNode {
|
||||
method public float getAlpha();
|
||||
method public java.lang.String[] getAutoFillHints();
|
||||
method public java.lang.String[] getAutofillHints();
|
||||
method public android.view.autofill.AutofillId getAutofillId();
|
||||
method public java.lang.String[] getAutofillOptions();
|
||||
method public int getAutofillType();
|
||||
|
||||
@@ -964,6 +964,16 @@ public class AssistStructure implements Parcelable {
|
||||
*
|
||||
* @return The hints for this view
|
||||
*/
|
||||
@Nullable public String[] getAutofillHints() {
|
||||
return mAutofillHints;
|
||||
}
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* @deprecated use getAutofillHints() instead.
|
||||
*/
|
||||
// TODO(b/33197203): remove once clients don't use it anymore...
|
||||
@Deprecated
|
||||
@Nullable public String[] getAutoFillHints() {
|
||||
return mAutofillHints;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user