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

Commit 10f8ed0c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents fa05aa0f 84368781
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
        }