Merge "Make HandwritingGesture methods final"
This commit is contained in:
@@ -54259,7 +54259,7 @@ package android.view.inputmethod {
|
||||
}
|
||||
|
||||
public abstract class HandwritingGesture {
|
||||
method @Nullable public String getFallbackText();
|
||||
method @Nullable public final String getFallbackText();
|
||||
field public static final int GESTURE_TYPE_DELETE = 4; // 0x4
|
||||
field public static final int GESTURE_TYPE_DELETE_RANGE = 64; // 0x40
|
||||
field public static final int GESTURE_TYPE_INSERT = 2; // 0x2
|
||||
|
||||
@@ -3232,7 +3232,7 @@ package android.view.displayhash {
|
||||
package android.view.inputmethod {
|
||||
|
||||
public abstract class HandwritingGesture {
|
||||
method public int getGestureType();
|
||||
method public final int getGestureType();
|
||||
}
|
||||
|
||||
public final class InlineSuggestion implements android.os.Parcelable {
|
||||
|
||||
@@ -159,7 +159,7 @@ public abstract class HandwritingGesture {
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
public @GestureType int getGestureType() {
|
||||
public final @GestureType int getGestureType() {
|
||||
return mType;
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ public abstract class HandwritingGesture {
|
||||
* example 2: join can fail if the gesture is drawn over text but there is no whitespace.
|
||||
*/
|
||||
@Nullable
|
||||
public String getFallbackText() {
|
||||
public final String getFallbackText() {
|
||||
return mFallbackText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user