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

Commit 052676c9 authored by Justin Ghan's avatar Justin Ghan Committed by Android (Google) Code Review
Browse files

Merge "Fix nullability annotations in InsertGesture API"

parents 4c7d5c9f 3af873ba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53544,8 +53544,8 @@ package android.view.inputmethod {
  public final class InsertGesture extends android.view.inputmethod.HandwritingGesture implements android.os.Parcelable {
    method public int describeContents();
    method @Nullable public android.graphics.PointF getInsertionPoint();
    method @Nullable public String getTextToInsert();
    method @NonNull public android.graphics.PointF getInsertionPoint();
    method @NonNull public String getTextToInsert();
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.view.inputmethod.InsertGesture> CREATOR;
  }
+2 −2
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public final class InsertGesture extends HandwritingGesture implements Parcelabl
    }

    /** Returns the text that will be inserted at {@link #getInsertionPoint()} **/
    @Nullable
    @NonNull
    public String getTextToInsert() {
        return mTextToInsert;
    }
@@ -62,7 +62,7 @@ public final class InsertGesture extends HandwritingGesture implements Parcelabl
     * Returns the insertion point {@link PointF} (in screen coordinates) where
     * {@link #getTextToInsert()} will be inserted.
     */
    @Nullable
    @NonNull
    public PointF getInsertionPoint() {
        return mPoint;
    }