Add DeferredKeyActionExecutor class.

The class can be used to queue a key action and trigger it later. There
are 2 events this class reacts to:

1. Queue a key action and map it to a key gesture.
2. Make actions corresponding to a key gesture executable.

Regardless of the order of these 2 events, any actions corresponding to
an executable key gesture will be executed.

Bug: 308482931
Test: atest WmTests:DeferredKeyActionExecutorTests
Change-Id: I3ce60b068d52d29aab06c2663467376a41638f7b
2 files changed