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

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

* commit 'e4da18e2':
  Initializing member variable before it is referenced
parents 1e96cc1f e4da18e2
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