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

Commit 67ed6fce authored by Michael Hoisie's avatar Michael Hoisie
Browse files

Remove call to `addHyphenator("am", 1, 1)`

This fixes the error message that occurs every time Android boots:
    E zygote  : Unable to find pattern file or unable to map it for am

The `am` hyphenator file (hyph-am.hyb) does not exist.

$ ls -al /system/usr/hyphen-data/hyph-am.hyb
ls: /system/usr/hyphen-data/hyph-am.hyb: No such file or directory

`am` is aliased to `und-Ethi` below.

Test: todo
Flag: EXEMPT dead code cleanup
Bug: 436377626
Change-Id: I8ae35baff1d2c4996a48d8b614361b20c252a108
parent 9074e8bf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -128,7 +128,6 @@ static void init() {
    constexpr int INDIC_MIN_SUFFIX = 2;

    addHyphenator("af", 1, 1);                                // Afrikaans
    addHyphenator("am", 1, 1);  // Amharic
    addHyphenator("as", INDIC_MIN_PREFIX, INDIC_MIN_SUFFIX);  // Assamese
    addHyphenator("be", 2, 2);  // Belarusian
    addHyphenator("bg", 2, 2);  // Bulgarian