summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android Build Merger (Role) <android-build-merger@google.com> 2017-06-09 22:25:08 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-06-09 22:25:13 +0000
commit583ee227f5dd69bef812deeac8b4b0089d95877d (patch)
tree0e8d3038ed6adb3fc68f6c93b3301481ad00ebf1
parentca9912323304c9dab9074e74ef4e02206000df38 (diff)
parent151d39041080f628a94c47394701fd6b7ab30631 (diff)
Merge "Merge "Minor fix on autofill() javadoc." into oc-dev am: 211e760408 am: d11e14b428" into oc-dr1-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 83f1ed93d026..97f53313baaf 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -7674,7 +7674,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.
*
@@ -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
* {@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.