Merge "TextSelection.Builder.setId should take null as well" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-16 23:52:14 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}