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

Commit 0a2df340 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Blacklist asian languages from input selection list, since this is LatinIME.

Bug: 2488167
Don't show ko, ja and zh languages in the list.

Remove a debug println.
Add alternates_for_g to the keyboard for it to work on turkish. This
  must have not gotten merged from donut.
parent ec998692
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := android-common

#LOCAL_AAPT_FLAGS := -0 .dict

#LOCAL_SDK_VERSION := current
LOCAL_SDK_VERSION := current

LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags

+2 −0
Original line number Diff line number Diff line
@@ -34,4 +34,6 @@
    <string name="alternates_for_z"></string>
    <!-- Accented characters related to "l" -->
    <string name="alternates_for_l"></string>
    <!-- Accented characters related to "g" -->
    <string name="alternates_for_g"></string>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -319,4 +319,7 @@
    
    <!-- Add to dictionary hint -->
    <string name="hint_add_to_dictionary">\u2190 Tap again to save</string>
    
    <!-- Inform the user that a particular language has an available dictionary -->
    <string name="has_dictionary">Dictionary available</string>
</resources>
+4 −1
Original line number Diff line number Diff line
@@ -70,7 +70,10 @@
                android:popupKeyboard="@xml/kbd_popup_template"
                android:popupCharacters="@string/alternates_for_d"/>
        <Key android:codes="102" android:keyLabel="f"/>
        <Key android:codes="103" android:keyLabel="g"/>
        <Key android:codes="103" android:keyLabel="g"
                android:popupKeyboard="@xml/kbd_popup_template"
                android:popupCharacters="@string/alternates_for_g"
        />
        <Key android:codes="104" android:keyLabel="h"/>
        <Key android:codes="106" android:keyLabel="j"/>
        <Key android:codes="107" android:keyLabel="k"/>
+0 −1
Original line number Diff line number Diff line
@@ -138,7 +138,6 @@ public class BinaryDictionary extends Dictionary {
    @Override
    public synchronized void close() {
        if (mNativeDict != 0) {
            System.err.println("Closing BinaryDictionary");
            closeNative(mNativeDict);
            mNativeDict = 0;
        }
Loading