Skip to content
Snippets Groups Projects
Commit e4da18e2 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

am 6348c54f: Merge "Initializing member variable before it is referenced" into jb-dev

* commit '6348c54f':
  Initializing member variable before it is referenced
parents 674c51a0 6348c54f
No related branches found
No related tags found
No related merge requests found
...@@ -134,13 +134,13 @@ public class UserHistoryDictionary extends ExpandableDictionary { ...@@ -134,13 +134,13 @@ public class UserHistoryDictionary extends ExpandableDictionary {
SharedPreferences sp) { SharedPreferences sp) {
super(context, dicTypeId); super(context, dicTypeId);
mLocale = locale; mLocale = locale;
mPrefs = sp;
if (sOpenHelper == null) { if (sOpenHelper == null) {
sOpenHelper = new DatabaseHelper(getContext()); sOpenHelper = new DatabaseHelper(getContext());
} }
if (mLocale != null && mLocale.length() > 1) { if (mLocale != null && mLocale.length() > 1) {
loadDictionary(); loadDictionary();
} }
mPrefs = sp;
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment