Merge "Renamed ViewNode's getAutoFillHints() to getAutofillHints()" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-18 04:01:58 +00:00
committed by Android (Google) Code Review
4 changed files with 13 additions and 3 deletions

View File

@@ -6624,7 +6624,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

@@ -6869,7 +6869,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

@@ -6654,7 +6654,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;
}