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

Commit 211e7604 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Minor fix on autofill() javadoc." into oc-dev

parents 1b39c88b fad3a83a
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -7676,7 +7676,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * }
     * }
     * </pre>
     * </pre>
     *
     *
     * <p>If the value is updated asynchronously the next call to
     * <p>If the value is updated asynchronously, the next call to
     * {@link AutofillManager#notifyValueChanged(View)} must happen <b>after</b> the value was
     * {@link AutofillManager#notifyValueChanged(View)} must happen <b>after</b> the value was
     * changed to the autofilled value. If not, the view will not be considered autofilled.
     * changed to the autofilled value. If not, the view will not be considered autofilled.
     *
     *
@@ -7698,6 +7698,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * former, this method is responsible for the latter - see {@link #autofill(AutofillValue)} and
     * former, this method is responsible for the latter - see {@link #autofill(AutofillValue)} and
     * {@link #onProvideAutofillVirtualStructure(ViewStructure, int)} for more info about autofill.
     * {@link #onProvideAutofillVirtualStructure(ViewStructure, int)} for more info about autofill.
     *
     *
     * <p>If a child value is updated asynchronously, the next call to
     * {@link AutofillManager#notifyValueChanged(View, int, AutofillValue)} must happen
     * <b>after</b> the value was changed to the autofilled value. If not, the child will not be
     * considered autofilled.
     *
     * <p><b>NOTE:</b> to indicate that a virtual view was autofilled,
     * <p><b>NOTE:</b> to indicate that a virtual view was autofilled,
     * <code>?android:attr/autofilledHighlight</code> should be drawn over it until the data
     * <code>?android:attr/autofilledHighlight</code> should be drawn over it until the data
     * changes.
     * changes.