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

am: 211e760408

Change-Id: I1dddd4e6a326ccd0fb6f57dbd30b0c4ba0d08106
This commit is contained in:
Felipe Leme
2017-06-09 22:13:59 +00:00
committed by android-build-merger

View File

@@ -7674,7 +7674,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.
* *
@@ -7696,6 +7696,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.