From 2d4559f6c225f5ea93f2b2447f877c374a9b0bea Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 8 Jul 2014 23:38:27 +0900 Subject: [PATCH] Fix Tamil keyboard unit test for tablet device This is a follow up change of I226e640fe4. Bug: 9978106 Change-Id: I6b4657a57bc36e01b0b6f8c56c48d31320b90702 --- .../src/com/android/inputmethod/keyboard/layout/Tamil.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/com/android/inputmethod/keyboard/layout/Tamil.java b/tests/src/com/android/inputmethod/keyboard/layout/Tamil.java index 792e7ea23..70385c7d0 100644 --- a/tests/src/com/android/inputmethod/keyboard/layout/Tamil.java +++ b/tests/src/com/android/inputmethod/keyboard/layout/Tamil.java @@ -48,11 +48,17 @@ public final class Tamil extends LayoutBase { public ExpectedKey[] getOtherCurrencyKeys() { return SymbolsShifted.CURRENCIES_OTHER_GENERIC; } + @Override public ExpectedKey[] getLeftShiftKeys(final boolean isPhone) { return EMPTY_KEYS; } + @Override + public ExpectedKey[] getRightShiftKeys(final boolean isPhone) { + return isPhone ? EMPTY_KEYS : EXCLAMATION_AND_QUESTION_MARKS; + } + // U+0BA4: "த" TAMIL LETTER TA // U+0BAE/U+0BBF: "மி" TAMIL LETTER MA/TAMIL VOWEL SIGN I // U+0BB4/U+0BCD: "ழ்" TAMIL LETTER LLLA/TAMIL SIGN VIRAMA