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

Commit 3af873ba authored by Justin Ghan's avatar Justin Ghan
Browse files

Fix nullability annotations in InsertGesture API

Bug: 239783077
Test: none
Change-Id: Iacc8bb3442100604e7d745755873950b5926a9ac
parent 7144d64e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53519,8 +53519,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;
    }