diff options
Diffstat (limited to 'src/com/android/settings/VoiceInputOutputSettings.java')
-rw-r--r-- | src/com/android/settings/VoiceInputOutputSettings.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/VoiceInputOutputSettings.java b/src/com/android/settings/VoiceInputOutputSettings.java index 81e624f57..b499deda1 100644 --- a/src/com/android/settings/VoiceInputOutputSettings.java +++ b/src/com/android/settings/VoiceInputOutputSettings.java @@ -183,6 +183,8 @@ public class VoiceInputOutputSettings implements OnPreferenceChangeListener { private void updateSettingsLink(String currentSetting) { ResolveInfo currentRecognizer = mAvailableRecognizersMap.get(currentSetting); + if (currentRecognizer == null) return; + ServiceInfo si = currentRecognizer.serviceInfo; XmlResourceParser parser = null; String settingsActivity = null; |