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

Commit 6792a909 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Output caps debug code" into jb-dev

parents 5434f464 b6fb5eb3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -635,6 +635,12 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
            Log.d(TAG, "onStartInputView: editorInfo:"
                    + String.format("inputType=0x%08x imeOptions=0x%08x",
                            editorInfo.inputType, editorInfo.imeOptions));
            Log.d(TAG, "All caps = "
                    + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0)
                    + ", sentence caps = "
                    + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0)
                    + ", word caps = "
                    + ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0));
        }
        if (ProductionFlag.IS_EXPERIMENTAL) {
            ResearchLogger.latinIME_onStartInputViewInternal(editorInfo, mPrefs);