commit | 7f0416a316ba2f5483748b63c6fd9f91bd84b887 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Tue May 21 18:11:19 2024 +0000 |
committer | Bryce Lee <brycelee@google.com> | Tue May 21 18:11:19 2024 +0000 |
tree | 24c0d655f645ad9d12de58832f66e606d87b08d0 | |
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