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

Skip to content
Commit 04d9b436 authored by Flex1911's avatar Flex1911 Committed by Michael Bestas
Browse files

Squashed support for multilanguage T9 dialer (1/2)

* Squash of the following:

Revert "dialer: Remove proprietary SmartDial extension"

This reverts commit 31eaffee.

Change-Id: I893b37b58731f8823ead441d09ec3c45f5b68da6

Russian T9 for Dialer

Change-Id: Ib99ff7b9ef5184db0450fe1bc8a6de79eb7efe24

Dialer: Add Greek T9 support

Change-Id: I006745075cbb83b23a6bda170032d146d9bc5aea

Hebrew T9 for Dialer

Please check it.
The implimentaion is built on the "Russian T9 for dialer".
Also added support for English but in Israel.

Change-Id: I58bfbdf053aff94e446d54f2649070a7cebd488b

Add Korean smart dial map

Change-Id: I93b8efa9093fce4f125e6ebe5b02b5fd581cd01a

Dialer: Refactor SmartDial for additional languages

Adds Chinese support and improved Korean support.

p4: Refactor for transliterating the displayName.

Change-Id: Id3175c6f4eda4962be9d25bd43c24a834c3c5ff1

Read option for t9 search input locale and refresh smart dial db when locale changes

Change-Id: I3cd942741310f16678ed9eb675bbba2cbc72d5e8

Add setting for t9 search input locale

Change-Id: I410b4e20afa85302a9ef3174c2f219e33b1b7987

Return match positions to enable highlighting for CN smart dial

Change-Id: I9255c582708c2fbfe22e7a2bf3ad971da692e2a9

Dialer: Fix T9 for Hebrew

Change-Id: I1c8be92acc1fc29b557eb7cda0d910cf036f3aea

Move smart dialer initialization to onStart().

The SmartDialCursorLoader expects the SmartDialPrefix map to be
initialized when it's created. As
- the loader is initialized in SmartDialSearchFragment's onStart and
- the fragment's onStart is called asynchronously after the activity's
  onStart and
- the map initialization happens in
  SmartDialPrefix.initializeNanpSettings() and
- the above method is currently called in the activity's onResume()

we have a race condition between the activity's onResume() and the
fragment's onStart() (at least when processing a dial intent, which is
what causes the dialpad fragment to be immediately shown).

Fix that race condition by moving the initialization into the activity's
onStart() and running it before calling the super method to ensure it
happens before fragments are started.

JIRA:NIGHTLIES-760
Change-Id: I9767cbba3b177fdd5b1de86914cb1e40d20835ab

Ensure the smart dial name matcher is initialized in onStart().

Otherwise SmartDialPrefix.getMap() might not be initialized yet.

JIRA: NIGHTLIES-1279
Change-Id: If3aca2809faf0c1f379518096a76f17d357fb8e2

Add Ukrainian T9 symbol map

Pretty close to Russian, but with a few differences

Ref CYNGNOS-2188

Change-Id: I29b2cf54fd61ec259e8a01bcedef548ec2fe91cc

Dialer: nuke proprietary smartsearch library references

We really should not use this.

Change-Id: I51395e475a0d9de2b31493d16ac08df72f2d996f

Feijao: empty string is not a valid locale

Empty string is not a valid locale. Setting the default locale
to english (en).

Change-Id: I7bc524dbb4aa65d31f1bb33fa5e8fadf4770fbaf
Issue-Id: FEIJ-306, CD-620

Dialer: use actually supported layouts for SmartDial

Change-Id: I7aafab71c6f8d904292bb82796ab39dc84e88253

Change-Id: I53674f3445ad4a39fdae76cd1afc4d8d27241b36
parent 9705f9df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment