Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4924e209 authored by Nikita Dubrovsky's avatar Nikita Dubrovsky
Browse files

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
parent 94ddd9d4
Loading
Loading
Loading
Loading
+2 −28
Original line number Diff line number Diff line
@@ -217,37 +217,11 @@ public interface OnReceiveContentCallback<T extends View> {
            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);