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

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

Merge "[Rlog5] ResearchLogging change from onFinishInput to onFinishInputView"

parents 1e55e59c 606058f7
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -820,10 +820,6 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
        super.onFinishInput();

        LatinImeLogger.commit();
        if (ProductionFlag.IS_EXPERIMENTAL) {
            ResearchLogger.getInstance().latinIME_onFinishInputInternal();
        }

        final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
        if (mainKeyboardView != null) {
            mainKeyboardView.closing();
@@ -840,6 +836,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
        // Remove pending messages related to update suggestions
        mHandler.cancelUpdateSuggestionStrip();
        resetComposingState(true /* alsoResetLastComposedWord */);
        if (ProductionFlag.IS_EXPERIMENTAL) {
            ResearchLogger.getInstance().latinIME_onFinishInputViewInternal();
        }
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -824,7 +824,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
        }
    }

    public void latinIME_onFinishInputInternal() {
    public void latinIME_onFinishInputViewInternal() {
        stop();
    }