am 605caf1b: Fix NPE in SettingsValues.

* commit '605caf1b5fca04f348fae92f4db1a8f10ac7df92':
  Fix NPE in SettingsValues.
main
Keisuke Kuroyanagi 2013-12-24 21:08:36 -08:00 committed by Android Git Automerger
commit e67dacb1f5
1 changed files with 1 additions and 1 deletions

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.