diff options
| author | 2024-05-21 18:11:19 +0000 | |
|---|---|---|
| committer | 2024-05-21 18:11:19 +0000 | |
| commit | 7f0416a316ba2f5483748b63c6fd9f91bd84b887 (patch) | |
| tree | 24c0d655f645ad9d12de58832f66e606d87b08d0 /libs/androidfw/ZipFileRO.cpp | |
| parent | bada87431a6d9f43547b363be240f5df2358c43c (diff) | |
Protect against receiving partial key event sequences.
This changelist addresses the possibility of receiving only the latter
portions of a key event sequence in DreamService. In this case, some
initialization/tracking might not be in place. Values are now checked
before being used.
Test: atest DreamServiceTest#testPartialKeyHandling
Flag: android.service.dreams.dream_handles_confirm_keys
Fixes: 341920661
Change-Id: I7e416dc96ed8871eb7f5bb18a4521150b846bfb9
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions