Skip to content

Commit

Permalink
Fixed putInt error (DW only accepts strings)
Browse files Browse the repository at this point in the history
  • Loading branch information
JS6845 authored and JS6845 committed May 22, 2020
1 parent b2d1ba2 commit af1081c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ private KeystrokePlugin(Builder builder) {
Bundle paramList = new Bundle();
paramList.putString(KEYSTROKE_OUTPUT_ENABLED_KEY, builder.enabled ? "true" : "false");
paramList.putString(KEYSTROKE_ACTION_CHAR_KEY, builder.actionChar.name());
paramList.putInt(KEYSTROKE_DELAY_CONTROL_KEY, builder.delayControlChar);
paramList.putInt(KEYSTROKE_CHARACTER_DELAY_KEY, builder.characterDelay);
paramList.putString(KEYSTROKE_DELAY_CONTROL_KEY, String.valueOf(builder.delayControlChar));
paramList.putString(KEYSTROKE_CHARACTER_DELAY_KEY, String.valueOf(builder.characterDelay));
paramList.putString(KEYSTROKE_DELAY_MULTIBYTE_CHARS_ONLY_KEY,
builder.delayMultiByteCharsOnly ? "true" : "false");
paramList.putString(KEYSTROKE_SEND_CHARS_AS_EVENTS_KEY,
Expand Down

0 comments on commit af1081c

Please sign in to comment.