Merge "Fix running on device regression test and profile."

main
Keisuke Kuroyanagi 2013-05-22 00:18:14 +00:00 committed by Android (Google) Code Review
commit 44f679bbd2
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) {