Merge "Fix running on device regression test and profile."
commit
44f679bbd2
|
@ -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