Merge "Add keyboard layout name constant"

main
Tadashi G. Takaoka 2014-03-11 09:42:50 +00:00 committed by Android (Google) Code Review
commit e6b992d9be
2 changed files with 3 additions and 1 deletions

View File

@ -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);
}

View File

@ -36,7 +36,7 @@ public final class TestsEnglishUS extends LayoutTestsBase {
@Override
String getTestKeyboardLayout() {
return "qwerty";
return Qwerty.LAYOUT_NAME;
}
@Override