diff options
author | 2013-12-25 14:00:16 +0900 | |
---|---|---|
committer | 2013-12-25 14:00:16 +0900 | |
commit | 605caf1b5fca04f348fae92f4db1a8f10ac7df92 (patch) | |
tree | c39b1bd7a009ef6a9bd4b20700dd143a6f8920b3 /java/src/com/android/inputmethod | |
parent | 4a55ee14408ff28e6738b0165707b278b38f1282 (diff) | |
download | latinime-605caf1b5fca04f348fae92f4db1a8f10ac7df92.tar.gz latinime-605caf1b5fca04f348fae92f4db1a8f10ac7df92.tar.xz latinime-605caf1b5fca04f348fae92f4db1a8f10ac7df92.zip |
Fix NPE in SettingsValues.
Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c
Diffstat (limited to 'java/src/com/android/inputmethod')
-rw-r--r-- | java/src/com/android/inputmethod/latin/settings/SettingsValues.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java index 3307de8ae..64c0c8e9c 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 final class SettingsValues { 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. |