[ZenFone 2 Original Android Development] zenpoy:
T9 Search Input Locale

**noob alert**

Hi,

I flashed this ROM and it is great. The dialer app has a bug, where it doesn't use the t9 search input locale settings, instead it uses the system language. Also when setting t9 search input locale to "default" you get app crash with this log:

03-06 21:54:30.167 6641 6641 D AndroidRuntime: Shutting down VM

03-06 21:54:30.168 6641 6641 E AndroidRuntime: FATAL EXCEPTION: main

03-06 21:54:30.168 6641 6641 E AndroidRuntime: Process: com.android.dialer, PID: 6641

03-06 21:54:30.168 6641 6641 E AndroidRuntime: Theme: themes:{default=overlay:system, fontPkg:system, com.android.systemui=overlay:system, com.android.systemui.navbar=overlay:system}

03-06 21:54:30.168 6641 6641 E AndroidRuntime: java.lang.IllegalArgumentException: Invalid value: for setting: t9_search_input_locale

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at cyanogenmod.providers.CMSettings$NameValueCache.putStringForUser(CMSettings.java:165)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at cyanogenmod.providers.CMSettings$System.putStringForUser(CMSettings.java:501)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at cyanogenmod.providers.CMSettings$System.putString(CMSettings.java:495)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at com.android.dialer.settings.DisplayOptionsSettingsFragment.saveT9SearchInputLocale(DisplayOptionsSettingsFragment.java:79)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at com.android.dialer.settings.DisplayOptionsSettingsFragment.onPreferenceChange(DisplayOptionsSettingsFragment.java:69)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.preference.Preference.callChangeListener(Preference.java:939)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.preference.ListPreference.onDialogClosed(ListPreference.java:282)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.preference.DialogPreference.onDismiss(DialogPreference.java:402)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1323)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5456)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

03-06 21:54:30.168 6641 6641 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

which led me to think that there is a missing global setting for

t9_search_input_locale

.

I found out that CyanogenMod had some commits related to that global setting:

I can't post links so you can google the change id's:

I780b3cca1ad2da396b76464a6dab5cc53f621ed2

I3cd942741310f16678ed9eb675bbba2cbc72d5e8

How can i find out if this ROM includes this changes or maybe this bug also occurs in official CM13. I checked that CM12.1.1 on one plus one doesn't have this issue.

Thanks