Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-26 15:08:14 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 12 deletions

View File

@@ -1681,11 +1681,6 @@ public class AssistStructure implements Parcelable {
return mNode.mChildren != null ? mNode.mChildren.length : 0; return mNode.mChildren != null ? mNode.mChildren.length : 0;
} }
@Override
public void setAutofillId(@NonNull ViewStructure parent, int virtualId) {
setAutofillId(parent.getAutofillId(), virtualId);
}
@Override @Override
public ViewStructure newChild(int index) { public ViewStructure newChild(int index) {
ViewNode node = new ViewNode(); ViewNode node = new ViewNode();

View File

@@ -303,13 +303,6 @@ public abstract class ViewStructure {
*/ */
public abstract void setAutofillId(@NonNull AutofillId parentId, int virtualId); public abstract void setAutofillId(@NonNull AutofillId parentId, int virtualId);
/**
* @deprecated - use {@link #setAutofillId(AutofillId, int)} instead
* @hide
*/
@Deprecated
public abstract void setAutofillId(@NonNull ViewStructure parent, int virtualId);
/** /**
* Sets the {@link View#getAutofillType()} that can be used to autofill this node. * Sets the {@link View#getAutofillType()} that can be used to autofill this node.
*/ */