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

Skip to content
Commit 96f96360 authored by Rohit Yengisetty's avatar Rohit Yengisetty
Browse files

Fix crash in Settings when clicking on Phone Number Lookup

List preferences in Phone Number Lookup can have zero
entries. Disable those preferences.

Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at android.preference.ListPreference.setValueIndex(ListPreference.java:199)
at com.android.dialer.settings.LookupSettingsFragment.restoreLookupProvider(LookupSettingsFragment.java:160)
at com.android.dialer.settings.LookupSettingsFragment.restoreLookupProviders(LookupSettingsFragment.java:151)
at com.android.dialer.settings.LookupSettingsFragment.onResume(LookupSettingsFragment.java:83)

Change-Id: I21eda536eaecb569716927fd47db3408a191a91c
Issue-Id: CYNGNOS-2547
(cherry picked from commit 416100f0)
parent 1dad7d1f
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