From f04e2ed83a9f97e1237d1bcf3664eb8e42205609 Mon Sep 17 00:00:00 2001 From: Mohammadinamul Sheik Date: Fri, 13 Mar 2015 17:05:11 -0700 Subject: [PATCH] Make RichInputMethodSubtype non-final for easy mocking Change-Id: I167bc56b5224eb389ec853aeb539d7fcf79b81e1 --- .../com/android/inputmethod/latin/RichInputMethodSubtype.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java b/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java index c7bd88933..9d7849ffc 100644 --- a/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java +++ b/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java @@ -36,7 +36,8 @@ import javax.annotation.Nullable; * * Right now, this returns the extra value of its primary subtype. */ -public final class RichInputMethodSubtype { +// non final for easy mocking. +public class RichInputMethodSubtype { private static final String TAG = RichInputMethodSubtype.class.getSimpleName(); @Nonnull