Fix NPE in SettingsValues.

Change-Id: I96fc381d2b45881aeb342d33207cd7fe82f5077c
This commit is contained in:
Keisuke Kuroyanagi 2013-12-25 14:00:16 +09:00
parent 4a55ee1440
commit 605caf1b5f

View file

@ -321,7 +321,7 @@ public final class SettingsValues {
public boolean isBrokenByRecorrection() { public boolean isBrokenByRecorrection() {
final AppWorkaroundsUtils appWorkaroundUtils final AppWorkaroundsUtils appWorkaroundUtils
= mAppWorkarounds.get(null, TIMEOUT_TO_GET_TARGET_PACKAGE); = 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. // Helper functions to create member values.