Commit fc119515 authored by Erik Duisters's avatar Erik Duisters

Fix keyboard input on Pie (Android 9/API 28)

BUG: 401726
parent da9b4ea1
......@@ -359,8 +359,10 @@ public class MousePadActivity extends AppCompatActivity implements GestureDetect
BackgroundService.runWithPlugin(this, deviceId, MousePadPlugin.class, plugin -> plugin.sendScroll(0, y));
//TODO: Does not work on KitKat with or without requestFocus()
private void showKeyboard() {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInputFromWindow(keyListenerView.getWindowToken(), 0, 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment