Merge "TextSelection.Builder.setId should take null as well" into pi-dev
am: 10f8ed0cf8
Change-Id: I4ebb83d6fc174ad3bb68cfded32505dc29327ee3
This commit is contained in:
@@ -154,8 +154,8 @@ public final class TextSelection implements Parcelable {
|
||||
* Sets an id for the TextSelection object.
|
||||
*/
|
||||
@NonNull
|
||||
public Builder setId(@NonNull String id) {
|
||||
mId = Preconditions.checkNotNull(id);
|
||||
public Builder setId(@Nullable String id) {
|
||||
mId = id;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user