summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-01-30 10:25:58 -0800
committerFelipe Leme <felipeal@google.com>2018-01-30 22:54:49 -0800
commitc83abcb3dd41d70a2cdad8ddd5a1b427d1e2e669 (patch)
treec2340f9347e4d4cf27e54704e083075dfe750c83 /core/java
parent44acfc0a363fe33beb9c496b022162b33d299e3a (diff)
Minor javadoc clarification.
Test: mmm -j frameworks/base/:doc-comment-check-docs Bug: 72693031 Fixes: 72562886 Change-Id: Ia9c3ac12cb41eea7ee30f7ec6c2e68b5603751fd
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/service/autofill/AutofillService.java9
-rw-r--r--core/java/android/service/autofill/CustomDescription.java5
2 files changed, 8 insertions, 6 deletions
diff --git a/core/java/android/service/autofill/AutofillService.java b/core/java/android/service/autofill/AutofillService.java
index 917efa8bd5f4..12aa64e4ecb7 100644
--- a/core/java/android/service/autofill/AutofillService.java
+++ b/core/java/android/service/autofill/AutofillService.java
@@ -468,9 +468,8 @@ import com.android.internal.os.SomeArgs;
* <p>Typically, field classification can be used to detect fields that can be autofilled with
* user data that is not associated with a specific app&mdash;such as email and physical
* address. Once the service identifies that a such field was manually filled by the user, the
- * service could use this signal to improve its heuristics, either locally (i.e., in the same
- * device) or globally (i.e., by crowdsourcing the results back to the service's server so it can
- * be used by other users).
+ * service could use this signal to improve its heuristics on subsequent requests (for example, by
+ * infering which resource ids are associated with known fields).
*
* <p>The field classification workflow involves 4 steps:
*
@@ -481,8 +480,8 @@ import com.android.internal.os.SomeArgs;
* <li>Identify which fields should be analysed by calling
* {@link FillResponse.Builder#setFieldClassificationIds(AutofillId...)}.
* <li>Verify the results through {@link FillEventHistory.Event#getFieldsClassification()}.
- * <li>Use the results to dynamically create {@link Dataset} or {@link SaveInfo} objects in future
- * requests.
+ * <li>Use the results to dynamically create {@link Dataset} or {@link SaveInfo} objects in
+ * subsequent requests.
* </ol>
*
* <p>The field classification is an expensive operation and should be used carefully, otherwise it
diff --git a/core/java/android/service/autofill/CustomDescription.java b/core/java/android/service/autofill/CustomDescription.java
index b8e8b19f9786..fb468a8dad6f 100644
--- a/core/java/android/service/autofill/CustomDescription.java
+++ b/core/java/android/service/autofill/CustomDescription.java
@@ -173,7 +173,10 @@ public final class CustomDescription implements Parcelable {
}
/**
- * Updates the {@link RemoteViews presentation template} when a condition is satisfied.
+ * Updates the {@link RemoteViews presentation template} when a condition is satisfied by
+ * applying a series of remote view operations. This allows dynamic customization of the
+ * portion of the save UI that is controlled by the autofill service. Such dynamic
+ * customization is based on the content of target views.
*
* <p>The updates are applied in the sequence they are added, after the
* {@link #addChild(int, Transformation) transformations} are applied to the children