Renamed ViewNode's getAutoFillHints() to getAutofillHints()

Test: CtsAutoFillServiceTestCases pass
Bug: 35956626
Bug: 35364993
Change-Id: I2ad5a625da6ed4ff889315923c81cfd629e34074
This commit is contained in:
Felipe Leme
2017-04-17 18:50:14 -07:00
parent bbcf5fba1c
commit b118021972
4 changed files with 13 additions and 3 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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;
}