Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67bb8cbe authored by Chieu Nguyen's avatar Chieu Nguyen
Browse files

Disable Hinglish locale.

Bug: 19899126.
Change-Id: I1824233b3bcb6cb6579714a7eb375ea2cebc39db
parent 67c06fc2
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -366,6 +366,7 @@
    />
    />
    <!-- TODO: This Hinglish keyboard is a preliminary layout.
    <!-- TODO: This Hinglish keyboard is a preliminary layout.
               This isn't based on the final specification. -->
               This isn't based on the final specification. -->
    <!--  Disabled because there is no LM yet, and this layout does not offer anything different.
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
            android:label="@string/subtype_hi_ZZ"
            android:label="@string/subtype_hi_ZZ"
            android:subtypeId="0x352eb37c"
            android:subtypeId="0x352eb37c"
@@ -374,6 +375,7 @@
            android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
            android:imeSubtypeExtraValue="AsciiCapable,KeyboardLayoutSet=qwerty,EmojiCapable"
            android:isAsciiCapable="true"
            android:isAsciiCapable="true"
    />
    />
    -->
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
    <subtype android:icon="@drawable/ic_ime_switcher_dark"
            android:label="@string/subtype_generic"
            android:label="@string/subtype_generic"
            android:subtypeId="0x35b7526a"
            android:subtypeId="0x35b7526a"
+2 −2
Original line number Original line Diff line number Diff line
@@ -27,8 +27,8 @@ import java.util.ArrayList;


@SmallTest
@SmallTest
public class KeyboardLayoutSetSubtypesCountTests extends KeyboardLayoutSetTestsBase {
public class KeyboardLayoutSetSubtypesCountTests extends KeyboardLayoutSetTestsBase {
    private static final int NUMBER_OF_SUBTYPES = 82;
    private static final int NUMBER_OF_SUBTYPES = 81;
    private static final int NUMBER_OF_ASCII_CAPABLE_SUBTYPES = 50;
    private static final int NUMBER_OF_ASCII_CAPABLE_SUBTYPES = 49;
    private static final int NUMBER_OF_PREDEFINED_ADDITIONAL_SUBTYPES = 2;
    private static final int NUMBER_OF_PREDEFINED_ADDITIONAL_SUBTYPES = 2;


    @Override
    @Override
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@


package com.android.inputmethod.keyboard.layout.tests;
package com.android.inputmethod.keyboard.layout.tests;


import android.test.suitebuilder.annotation.SmallTest;
import android.test.suitebuilder.annotation.Suppress;


import com.android.inputmethod.keyboard.layout.LayoutBase;
import com.android.inputmethod.keyboard.layout.LayoutBase;
import com.android.inputmethod.keyboard.layout.Qwerty;
import com.android.inputmethod.keyboard.layout.Qwerty;
@@ -30,7 +30,7 @@ import java.util.Locale;
/*
/*
 * hi_ZZ: Hinglish/qwerty
 * hi_ZZ: Hinglish/qwerty
 */
 */
@SmallTest
@Suppress
public final class TestsHinglish extends LayoutTestsBase {
public final class TestsHinglish extends LayoutTestsBase {
    private static final Locale LOCALE = new Locale("hi", "ZZ");
    private static final Locale LOCALE = new Locale("hi", "ZZ");
    private static final LayoutBase LAYOUT = new Qwerty(new HinglishCustomizer(LOCALE));
    private static final LayoutBase LAYOUT = new Qwerty(new HinglishCustomizer(LOCALE));