Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40582ab4 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Initializing member variable before it is referenced

Bug: 6584882
Change-Id: I1f76388fa8cc16171bc3fc60c935ddcf0a7c4e92
parent 65b72435
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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