Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
25ae29dfd5
@@ -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();
|
||||||
|
|||||||
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user