Skip to content

Commit

Permalink
Thread concurrency support update rev.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliturin committed May 28, 2017
1 parent 77ac412 commit 710119b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public static synchronized String getStringValue(Context context, @NonNull Strin
DatabaseAccessHelper db = DatabaseAccessHelper.getInstance(context);
if (db != null) {
value = db.getSettingsValue(name);
settingsMap.put(name, value);
if(value != null) {
settingsMap.put(name, value);
}
}
}
return value;
Expand Down

0 comments on commit 710119b

Please sign in to comment.