Stop using a deprecated constructor in ActivityInstrumentationTestCase2
We no longer need to use a deprecated constructor. No behavior change is intended in the supported platforms.
BUG=none
TEST=compile
git-svn-id: https://mozc.googlecode.com/svn/trunk@407 a6090854-d499-a067-5803-1114d4e51264
diff --git a/src/android/tests/src/com/google/android/inputmethod/japanese/testing/ActivityInstrumentationTestCase2WithMock.java b/src/android/tests/src/com/google/android/inputmethod/japanese/testing/ActivityInstrumentationTestCase2WithMock.java
index 4fb719b..8fac313 100644
--- a/src/android/tests/src/com/google/android/inputmethod/japanese/testing/ActivityInstrumentationTestCase2WithMock.java
+++ b/src/android/tests/src/com/google/android/inputmethod/japanese/testing/ActivityInstrumentationTestCase2WithMock.java
@@ -54,16 +54,8 @@
private EasyMockSupport mockSupport;
private InstrumentationMockUtil mockUtil;
- @SuppressWarnings("deprecation")
public ActivityInstrumentationTestCase2WithMock(Class<T> activityClass) {
- // Note: We call deprecated constructor intentionally here,
- // because our min target is API level 7.
- // The first parameter of the constructor of the super class is ignored on 2.2 or later,
- // but used on 2.1. Probably, the right way to get the package name is by using PackageManager.
- // However, here, it is impossible to do it. Thus, we hard-code the package name here.
- // Eventually we should switch to the new framework and the following code should be cleaned
- // at that time.
- super("org.mozc.android.inputmethod.japanese", activityClass);
+ super(activityClass);
}
@Override
diff --git a/src/mozc_version_template.txt b/src/mozc_version_template.txt
index 765932d..c44c08b 100644
--- a/src/mozc_version_template.txt
+++ b/src/mozc_version_template.txt
@@ -1,6 +1,6 @@
MAJOR=2
MINOR=16
-BUILD=1947
+BUILD=1948
REVISION=102
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
# downloaded by NaCl Mozc.