commit | 605caf1b5fca04f348fae92f4db1a8f10ac7df92 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Wed Dec 25 14:00:16 2013 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Wed Dec 25 14:00:16 2013 +0900 |
tree | c39b1bd7a009ef6a9bd4b20700dd143a6f8920b3 | |
parent | 4a55ee14408ff28e6738b0165707b278b38f1282 [diff] |
Fix NPE in SettingsValues. Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c
diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java index 3307de8..64c0c8e 100644 --- a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java +++ b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java
@@ -321,7 +321,7 @@ public boolean isBrokenByRecorrection() { final AppWorkaroundsUtils appWorkaroundUtils = mAppWorkarounds.get(null, TIMEOUT_TO_GET_TARGET_PACKAGE); - return null == appWorkaroundUtils ? null : appWorkaroundUtils.isBrokenByRecorrection(); + return null == appWorkaroundUtils ? false : appWorkaroundUtils.isBrokenByRecorrection(); } // Helper functions to create member values.