From 4924e209a3287b234d24e9124332f112a673190c Mon Sep 17 00:00:00 2001 From: Nikita Dubrovsky Date: Tue, 13 Oct 2020 09:22:14 -0700 Subject: [PATCH] Removed duplicate javadocs from OnReceiveContentCallback.Payload fields The fields are documented on the public getters and on the Builder, so removed the duplicate javadocs from the private fields. Bug: 152068298 Test: m -j Change-Id: Id45cee9003a4b754f09c52d1afcd1d8572e464df --- .../view/OnReceiveContentCallback.java | 30 ++----------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/core/java/android/view/OnReceiveContentCallback.java b/core/java/android/view/OnReceiveContentCallback.java index 73bcb93d39d0d..1256554d2d3a2 100644 --- a/core/java/android/view/OnReceiveContentCallback.java +++ b/core/java/android/view/OnReceiveContentCallback.java @@ -217,37 +217,11 @@ public interface OnReceiveContentCallback { return String.valueOf(flags); } - /** - * The data to be inserted. - */ @NonNull private final ClipData mClip; - - /** - * The source of the operation. See {@code SOURCE_} constants. - */ private final @Source int mSource; - - /** - * Optional flags that control the insertion behavior. See {@code FLAG_} constants. - */ private final @Flags int mFlags; - - /** - * Optional http/https URI for the content that may be provided by the IME. This is only - * populated if the source is {@link #SOURCE_INPUT_METHOD} and if a non-empty - * {@link android.view.inputmethod.InputContentInfo#getLinkUri linkUri} was passed by the - * IME. - */ - @Nullable - private final Uri mLinkUri; - - /** - * Optional additional metadata. If the source is {@link #SOURCE_INPUT_METHOD}, this will - * include the {@link android.view.inputmethod.InputConnection#commitContent opts} passed by - * the IME. - */ - @Nullable - private final Bundle mExtras; + @Nullable private final Uri mLinkUri; + @Nullable private final Bundle mExtras; private Payload(Builder b) { this.mClip = Objects.requireNonNull(b.mClip);