mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Initializing member variable before it is referenced" into jb-dev
This commit is contained in:
commit
6348c54ffd
@ -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
Block a user