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

Commit f77e9d7e authored by Kurt Partridge's avatar Kurt Partridge Committed by Android (Google) Code Review
Browse files

Merge "Initialize ResearchLogger later to avoid NPE"

parents 5228745a 63bc2795
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -412,9 +412,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
    public void onCreate() {
        Settings.init(this);
        LatinImeLogger.init(this);
        if (ProductionFlag.IS_EXPERIMENTAL) {
            ResearchLogger.getInstance().init(this);
        }
        RichInputMethodManager.init(this);
        mRichImm = RichInputMethodManager.getInstance();
        SubtypeSwitcher.init(this);
@@ -430,6 +427,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
        loadSettings();
        initSuggest();

        if (ProductionFlag.IS_EXPERIMENTAL) {
            ResearchLogger.getInstance().init(this);
        }
        mDisplayOrientation = getResources().getConfiguration().orientation;

        // Register to receive ringer mode change and network state change.