Fix running on device regression test and profile.

Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776c
main
Keisuke Kuroyanagi 2013-05-20 20:14:13 -07:00
parent eb724ddbe9
commit adf82a97a9
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ import android.util.Xml;
import android.view.inputmethod.EditorInfo; import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputMethodSubtype; import android.view.inputmethod.InputMethodSubtype;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.compat.EditorInfoCompatUtils; import com.android.inputmethod.compat.EditorInfoCompatUtils;
import com.android.inputmethod.keyboard.internal.KeyboardBuilder; import com.android.inputmethod.keyboard.internal.KeyboardBuilder;
import com.android.inputmethod.keyboard.internal.KeyboardParams; import com.android.inputmethod.keyboard.internal.KeyboardParams;
@ -424,6 +425,7 @@ public final class KeyboardLayoutSet {
SPELLCHECKER_DUMMY_KEYBOARD_HEIGHT, false); SPELLCHECKER_DUMMY_KEYBOARD_HEIGHT, false);
} }
@UsedForTesting
public static KeyboardLayoutSet createKeyboardSetForTest(final Context context, public static KeyboardLayoutSet createKeyboardSetForTest(final Context context,
final InputMethodSubtype subtype, final int orientation, final InputMethodSubtype subtype, final int orientation,
final boolean testCasesHaveTouchCoordinates) { final boolean testCasesHaveTouchCoordinates) {