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

Commit 5f3dbb30 authored by Felipe Leme's avatar Felipe Leme
Browse files

Removed deprecated setAutofill() method for virtual children.

Test: CtsAutoFillServiceTestCases pass

Bug: 37563972

Change-Id: Icbffb89d86ee65831b7c78effd2522ac7891e1be
parent 906948e7
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.
     */