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

Commit 82d57ec5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add another OptionsBuilder constructor with the source type as one of...

Merge "Add another OptionsBuilder constructor with the source type as one of its parameter." am: 8c702c2d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1714113

Change-Id: Ic85e8da5f3ae628a03c705a3e37223202ddf5341
parents 6d03c42e 8c702c2d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -127,6 +127,18 @@ public final class RcsContactUceCapability implements Parcelable {
                    SOURCE_TYPE_NETWORK);
        }

        /**
         * Create the Builder, which can be used to set UCE capabilities as well as custom
         * capability extensions.
         * @param contact The contact URI that the capabilities are attached to.
         * @param sourceType The type where the capabilities of this contact were retrieved from.
         * @hide
         */
        public OptionsBuilder(@NonNull Uri contact, @SourceType int sourceType) {
            mCapabilities = new RcsContactUceCapability(contact, CAPABILITY_MECHANISM_OPTIONS,
                    sourceType);
        }

        /**
         * Set the result of the capabilities request.
         * @param requestResult the request result