diff options
| author | 2023-11-16 17:52:15 -0800 | |
|---|---|---|
| committer | 2023-12-05 03:18:42 +0000 | |
| commit | 83e0fa0c49a82f8f7f420fc78ca73960a3075b0f (patch) | |
| tree | 58db486d41335aef466e968bd41f5739ed2bf908 /libs/androidfw/FileStream.cpp | |
| parent | da689d5add6df04fcc6b56a9e12259b5013b6fc6 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions