Minor improvement on new Q API javadocs.

Test: mmm -j frameworks/base/:doc-comment-check-docs
Bug: 112051762

Change-Id: I030c77f7f974274fea93b46390caa8b65ac97761
This commit is contained in:
Felipe Leme
2018-09-14 10:13:27 -07:00
parent e4fa629d84
commit 7727bcc692

View File

@@ -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