Add keyboard layout name constant
Change-Id: I6cdc3efdb58e7a1efb3e352d80d0aa41e333a150
This commit is contained in:
parent
bab437fb3b
commit
8c1965ba04
2 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@ import com.android.inputmethod.keyboard.layout.expected.LayoutBase;
|
|||
* The QWERTY alphabet keyboard.
|
||||
*/
|
||||
public final class Qwerty extends LayoutBase {
|
||||
public static final String LAYOUT_NAME = "qwerty";
|
||||
|
||||
public static ExpectedKey[][] getLayout(final boolean isPhone) {
|
||||
return getDefaultAlphabetLayout(ALPHABET_COMMON, isPhone);
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public final class TestsEnglishUS extends LayoutTestsBase {
|
|||
|
||||
@Override
|
||||
String getTestKeyboardLayout() {
|
||||
return "qwerty";
|
||||
return Qwerty.LAYOUT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue