diff options
author | Hiroaki.Kojima <Hiroaki.Kojima@sony.com> | 2017-07-04 12:17:05 +0900 |
---|---|---|
committer | Edward Savage-Jones <edward.savage-jones@sony.com> | 2019-12-30 10:37:24 +0100 |
commit | 16b4b3590ad8e976415c1c3c8cb49aeeb83cb3a0 (patch) | |
tree | 3ae2b4ceba486d45f0c5b35441b869e4ed2c583d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 0d7e17eb676695de8b19ad2ec33fdfcefa165b97 (diff) |
Fix for recycling key events when sending global button broadcast
When broadcasting several global key/button events in a short time,
old key events can be overwritten by later ones as they refer to
the same object which is recycled. This can cause issues for
applications, where the expected key event is overwritten and
never received.
For each new broadcast create a copy of the key event and use
that in the broadcast intent.
Test: Send repeated key event(s) that are defined in 'global_keys'
and verify they are received as expected.
Change-Id: I074827792387b66a0ccf15a00bceee01275fb16f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions