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

Commit cc7e3191 authored by Frank Preel's avatar Frank Preel
Browse files

Adding debug info

parent e4685b29
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -990,7 +990,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
    @SuppressWarnings("deprecation")
    void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) {
        super.onStartInputView(editorInfo, restarting);

        Log.d("xxx", "onStartInputViewInternal ");
        mDictionaryFacilitator.onStartInput();
        // Switch to the null consumer to handle cases leading to early exit below, for which we
        // also wouldn't be consuming gesture data.
@@ -1664,6 +1664,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen

    private void setSuggestedWords(final SuggestedWords suggestedWords) {
        final SettingsValues currentSettingsValues = mSettings.getCurrent();
        Log.d("xxx", "setSuggestedWords");
        mInputLogic.setSuggestedWords(suggestedWords);
        // TODO: Modify this when we support suggestions with hard keyboard
        if (!hasSuggestionStripView()) {
@@ -1685,6 +1686,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        final boolean shouldShowSuggestionsStrip = shouldShowSuggestionsStripUnlessPassword
                && !currentSettingsValues.mInputAttributes.mIsPasswordField;
        mSuggestionStripView.updateVisibility(shouldShowSuggestionsStrip, isFullscreenMode());

        Log.d("xxx", "setSuggestedWords >" + shouldShowSuggestionsStrip);
        Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mShouldShowSuggestions>" + currentSettingsValues.mInputAttributes.mShouldShowSuggestions);
        Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mIsPasswordField>" + currentSettingsValues.mInputAttributes.mIsPasswordField);
        
        if (!shouldShowSuggestionsStrip) {
            return;
        }