aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-08-13 05:20:45 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-13 05:20:45 +0000
commit7edc27f17b450e690f08a972c4573b92b39ef7ee (patch)
tree3c8e50b24a4ca9b15adedeb8d8d6b1033c4e23a1 /tests/src
parenta70542a5ef2c7f4d5cfe62150ed17be3776904c5 (diff)
parent8f3e778a21ff2c8855fb0014116eda9eec7f2b5d (diff)
downloadlatinime-7edc27f17b450e690f08a972c4573b92b39ef7ee.tar.gz
latinime-7edc27f17b450e690f08a972c4573b92b39ef7ee.tar.xz
latinime-7edc27f17b450e690f08a972c4573b92b39ef7ee.zip
am 8f3e778a: Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
* commit '8f3e778a21ff2c8855fb0014116eda9eec7f2b5d': Revert "Remove reference of VERSION_CODES.CUR_DEVELOPMENT"
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/keyboard/KeyboardThemeTests.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/keyboard/KeyboardThemeTests.java b/tests/src/com/android/inputmethod/keyboard/KeyboardThemeTests.java
index 45e1558a8..0c7e4000e 100644
--- a/tests/src/com/android/inputmethod/keyboard/KeyboardThemeTests.java
+++ b/tests/src/com/android/inputmethod/keyboard/KeyboardThemeTests.java
@@ -20,7 +20,6 @@ import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_ICS;
import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_KLP;
import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_DARK;
import static com.android.inputmethod.keyboard.KeyboardTheme.THEME_ID_LXX_LIGHT;
-import static com.android.inputmethod.keyboard.KeyboardTheme.VERSION_CODES_LXX;
import android.content.SharedPreferences;
import android.os.Build.VERSION_CODES;
@@ -32,6 +31,9 @@ import android.test.suitebuilder.annotation.SmallTest;
public class KeyboardThemeTests extends AndroidTestCase {
private SharedPreferences mPrefs;
+ // TODO: Remove this constant once the *next* version becomes available.
+ private static final int VERSION_CODES_LXX = VERSION_CODES.CUR_DEVELOPMENT;
+
private static final int THEME_ID_NULL = -1;
private static final int THEME_ID_UNKNOWN = -2;
private static final int THEME_ID_ILLEGAL = -3;