Skip to content

Improve and fixup SendKeystrokesToHostActivity

Summary

This MR fixes and improves SendKeystrokesToHostActivity, which was added in !220 (merged). Changes:

  1. Add toolbar
  2. Add device icons
  3. Fix unexpected on-screen keyboard popping up when starting an activity on some Android versions
  4. The distance between the device list and the text box has been reduced

Test Plan

Before:

Send a keystroke (if you are sending it from andOTP, disable immediate sending). You will see that the toolbar is missing and perhaps the text field is focused (if it is focused, you will immediately have an on-screen keyboard).

Before

After:

The toolbar is there, the text field is not focused, the on-screen keyboard does not appear, and in addition you also get device icons.

After

Edited by Maxim Leshchenko

Merge request reports