summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-01-21 01:59:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-01-21 01:59:08 +0000
commite77f98e2f368617120a45dc4fe51eb452a8a8a20 (patch)
tree611ce147f752a96aa2b90a8ce82a8373068c8cc2 /core/java/android
parentfd6439e3cda703386cf2abf37c06f118a1d4802a (diff)
parent64a7dad2dfa1d43aae9b34fec2a2152686877ca5 (diff)
Merge "Updates API on the FillResponse"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/service/autofill/FillResponse.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/service/autofill/FillResponse.java b/core/java/android/service/autofill/FillResponse.java
index 939ae878816a..dc0f5623e5e3 100644
--- a/core/java/android/service/autofill/FillResponse.java
+++ b/core/java/android/service/autofill/FillResponse.java
@@ -559,8 +559,8 @@ public final class FillResponse implements Parcelable {
}
/**
- * Sets targets with the resources IDs of the child view of
- * {@link RemoteViews Presentation Template} which will cancel the session when clicked.
+ * Sets target resource IDs of the child view in {@link RemoteViews Presentation Template}
+ * which will cancel the session when clicked.
* Those targets will be respectively applied to a child of the header, footer and
* each {@link Dataset}.
*
@@ -571,7 +571,7 @@ public final class FillResponse implements Parcelable {
* @throws IllegalStateException if {@link #build()} was already called.
*/
@NonNull
- public Builder setCancelTargetIds(@Nullable int[] ids) {
+ public Builder setPresentationCancelIds(@Nullable int[] ids) {
throwIfDestroyed();
mCancelIds = ids;
return this;
@@ -769,7 +769,7 @@ public final class FillResponse implements Parcelable {
}
builder.setFlags(parcel.readInt());
final int[] cancelIds = parcel.createIntArray();
- builder.setCancelTargetIds(cancelIds);
+ builder.setPresentationCancelIds(cancelIds);
final FillResponse response = builder.build();
response.setRequestId(parcel.readInt());