KeyEvent not working on latest Android 11

KeyEvent keyEvent = new KeyEvent();

I’m not sure if the issue is with KeyEvent or AndroidKey but I’m not able to perform pressKey events with the latest Android 11.

Anyone else having this issue?

Do other keys work or are broken as well? Have you tried to add some debugging into your app to make sure it receives the event?