Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25ae29df authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 70739fb8 5f3dbb30
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1681,11 +1681,6 @@ public class AssistStructure implements Parcelable {
            return mNode.mChildren != null ? mNode.mChildren.length : 0;
        }

        @Override
        public void setAutofillId(@NonNull ViewStructure parent, int virtualId) {
            setAutofillId(parent.getAutofillId(), virtualId);
        }

        @Override
        public ViewStructure newChild(int index) {
            ViewNode node = new ViewNode();
+0 −7
Original line number Diff line number Diff line
@@ -303,13 +303,6 @@ public abstract class ViewStructure {
     */
    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.
     */