summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-09-14 10:13:27 -0700
committerFelipe Leme <felipeal@google.com>2018-09-14 12:24:30 -0700
commit7727bcc692d4e5ffabe3fa10cf8312132cdc3cf9 (patch)
tree9cae75490d030bbff5c52636e042dfb66ce5f07d /core/java
parente4fa629d849c37bcc5b27ae25a408ad5d88ceb86 (diff)
Minor improvement on new Q API javadocs.
Test: mmm -j frameworks/base/:doc-comment-check-docs Bug: 112051762 Change-Id: I030c77f7f974274fea93b46390caa8b65ac97761
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/service/autofill/SaveInfo.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/core/java/android/service/autofill/SaveInfo.java b/core/java/android/service/autofill/SaveInfo.java
index f5719568c1ad..dfaf49ad6a03 100644
--- a/core/java/android/service/autofill/SaveInfo.java
+++ b/core/java/android/service/autofill/SaveInfo.java
@@ -235,12 +235,17 @@ public final class SaveInfo implements Parcelable {
*/
public static final int FLAG_DONT_SAVE_ON_FINISH = 0x2;
+
/**
- * Don't trigger the autofill save UI when the autofill context associated with the response
- * associated with this {@link SaveInfo} is {@link AutofillManager#commit() committed},
- * but keep its {@link FillContext} so it's delivered in a future
- * {@link AutofillService#onSaveRequest(SaveRequest, SaveCallback) save request} of an
- * activity belonging to the same task.
+ * Postpone the autofill save UI.
+ *
+ * <p>If flag is set, the autofill save UI is not triggered when the
+ * autofill context associated with the response associated with this {@link SaveInfo} is
+ * committed (with {@link AutofillManager#commit()}). Instead, the {@link FillContext}
+ * is delivered in future fill requests (with {@link
+ * AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback)})
+ * and save request (with {@link AutofillService#onSaveRequest(SaveRequest, SaveCallback)})
+ * of an activity belonging to the same task.
*
* <p>This flag should be used when the service detects that the application uses
* multiple screens to implement an autofillable workflow (for example, one screen for the