From 605caf1b5fca04f348fae92f4db1a8f10ac7df92 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Wed, 25 Dec 2013 14:00:16 +0900 Subject: [PATCH] Fix NPE in SettingsValues. Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c --- .../com/android/inputmethod/latin/settings/SettingsValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.