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

Commit 7ef235f5 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Record onStartInputView

Bug: 5722703
Change-Id: I56bcf6ccde82b4176093de4f197a8736b0cc8c10
parent 8e3faff2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -722,6 +722,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                    : String.format("inputType=0x%08x imeOptions=0x%08x",
                            editorInfo.inputType, editorInfo.imeOptions)));
        }
        LatinImeLogger.onStartInputView(editorInfo);
        // In landscape mode, this method gets called without the input view being created.
        if (inputView == null) {
            return;
+8 −4
Original line number Diff line number Diff line
@@ -16,11 +16,12 @@

package com.android.inputmethod.latin;

import com.android.inputmethod.keyboard.Keyboard;
import com.android.inputmethod.latin.Dictionary.DataType;

import android.content.Context;
import android.content.SharedPreferences;
import android.view.inputmethod.EditorInfo;

import com.android.inputmethod.keyboard.Keyboard;
import com.android.inputmethod.latin.Dictionary.DataType;

import java.util.List;

@@ -67,6 +68,9 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
    public static void logOnWarning(String warning) {
    }

    public static void onStartInputView(EditorInfo editorInfo) {
    }

    public static void onStartSuggestion(CharSequence previousWords) {
    }