am 6348c54f: Merge "Initializing member variable before it is referenced" into jb-dev
* commit '6348c54ffd1d39be44ce42d7d2eb068cba508dbc': Initializing member variable before it is referencedmain
commit
e4da18e279
|
@ -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 New Issue