* commit 'e4da18e27916f770fcd704032d30534d287d67c6': Initializing member variable before it is referenced
This commit is contained in:
commit
6b8a70105f
1 changed files with 1 additions and 1 deletions
|
@ -134,13 +134,13 @@ public class UserHistoryDictionary extends ExpandableDictionary {
|
|||
SharedPreferences sp) {
|
||||
super(context, dicTypeId);
|
||||
mLocale = locale;
|
||||
mPrefs = sp;
|
||||
if (sOpenHelper == null) {
|
||||
sOpenHelper = new DatabaseHelper(getContext());
|
||||
}
|
||||
if (mLocale != null && mLocale.length() > 1) {
|
||||
loadDictionary();
|
||||
}
|
||||
mPrefs = sp;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue