summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android Build Merger (Role) <android-build-merger@google.com> 2017-06-09 22:09:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-06-09 22:09:38 +0000
commitc3f93e120cd031282fa5e9884f09b50c5850257e (patch)
treea8664d17a11d1e1b6937097ef62277cde1c343f3
parentcfbb73bcdea1f7227217866fc288280a8e16a9ca (diff)
parent0ba0e462152a9643e1f41872dc692061fb01b072 (diff)
Merge "Merge "Minor fix on autofill() javadoc." into oc-dev am: 211e760408" into oc-dev-plus-aosp
-rw-r--r--core/java/android/view/View.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index 5c926f61df29..b093284ae9ff 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -7676,7 +7676,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* }
* </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
* 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
* {@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,
* <code>?android:attr/autofilledHighlight</code> should be drawn over it until the data
* changes.