am 43c0a034: Merge "Pretty print for InputAttributes"
* commit '43c0a034bd79bf143919a44f519a3aec0d132461': Pretty print for InputAttributesmain
commit
13f700ee17
|
@ -100,4 +100,13 @@ public class InputAttributes {
|
|||
mApplicationSpecifiedCompletionOn = flagAutoComplete && isFullscreenMode;
|
||||
}
|
||||
}
|
||||
|
||||
// Pretty print
|
||||
@Override
|
||||
public String toString() {
|
||||
return "\n mInsertSpaceOnPickSuggestionManually = " + mInsertSpaceOnPickSuggestionManually
|
||||
+ "\n mInputTypeNoAutoCorrect = " + mInputTypeNoAutoCorrect
|
||||
+ "\n mIsSettingsSuggestionStripOn = " + mIsSettingsSuggestionStripOn
|
||||
+ "\n mApplicationSpecifiedCompletionOn = " + mApplicationSpecifiedCompletionOn;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2445,12 +2445,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
p.println(" mCorrectionMode=" + mCorrectionMode);
|
||||
p.println(" isComposingWord=" + mWordComposer.isComposingWord());
|
||||
p.println(" mAutoCorrectEnabled=" + mSettingsValues.mAutoCorrectEnabled);
|
||||
p.println(" mInsertSpaceOnPickSuggestionManually="
|
||||
+ mInputAttributes.mInsertSpaceOnPickSuggestionManually);
|
||||
p.println(" mApplicationSpecifiedCompletionOn="
|
||||
+ mInputAttributes.mApplicationSpecifiedCompletionOn);
|
||||
p.println(" mSoundOn=" + mSettingsValues.mSoundOn);
|
||||
p.println(" mVibrateOn=" + mSettingsValues.mVibrateOn);
|
||||
p.println(" mKeyPreviewPopupOn=" + mSettingsValues.mKeyPreviewPopupOn);
|
||||
p.println(" mInputAttributes=" + mInputAttributes.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue