am e6b992d9: Merge "Add keyboard layout name constant"
* commit 'e6b992d9be4d4844279745c032c40bf414b3ae8c': Add keyboard layout name constantmain
commit
7af3e8421f
|
@ -24,6 +24,8 @@ import com.android.inputmethod.keyboard.layout.expected.LayoutBase;
|
||||||
* The QWERTY alphabet keyboard.
|
* The QWERTY alphabet keyboard.
|
||||||
*/
|
*/
|
||||||
public final class Qwerty extends LayoutBase {
|
public final class Qwerty extends LayoutBase {
|
||||||
|
public static final String LAYOUT_NAME = "qwerty";
|
||||||
|
|
||||||
public static ExpectedKey[][] getLayout(final boolean isPhone) {
|
public static ExpectedKey[][] getLayout(final boolean isPhone) {
|
||||||
return getDefaultAlphabetLayout(ALPHABET_COMMON, isPhone);
|
return getDefaultAlphabetLayout(ALPHABET_COMMON, isPhone);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ public final class TestsEnglishUS extends LayoutTestsBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
String getTestKeyboardLayout() {
|
String getTestKeyboardLayout() {
|
||||||
return "qwerty";
|
return Qwerty.LAYOUT_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue