Fix running on device regression test and profile.
Change-Id: Ie16d9514092d6d6f42881b975420e5d1431b776cmain
parent
eb724ddbe9
commit
adf82a97a9
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue