Merge "Add another OptionsBuilder constructor with the source type as one of its parameter." into sc-dev am: 9e18139343 am: 642308060c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14640281 Change-Id: Ic09d6b57de7656fde5593db7239b2eea4964496d
This commit is contained in:
@@ -127,6 +127,18 @@ public final class RcsContactUceCapability implements Parcelable {
|
|||||||
SOURCE_TYPE_NETWORK);
|
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.
|
* Set the result of the capabilities request.
|
||||||
* @param requestResult the request result
|
* @param requestResult the request result
|
||||||
|
|||||||
Reference in New Issue
Block a user