diff options
| author | 2024-04-16 21:18:58 +0000 | |
|---|---|---|
| committer | 2024-04-17 11:11:42 +0000 | |
| commit | c8fb609900771386b82fb7a4c73b9b0712f1a0be (patch) | |
| tree | ce070ac175eb812599b28a75b8d2685d7b1db6a7 /libs/input/SpriteController.cpp | |
| parent | 5a800ba4304ad81382e3bf5379f7bc03069bf96d (diff) | |
Add input validation on VibrationParam[] to prohibit null items
We're adding validation checks to setVibrationParams and onRequestVibrationParamsComplete in the VibratorControlService. Null items within the VibrationParam[] array are prohibited and will immediately trigger an exception.
Fix: 335279298
Test: atest VibratorControlServiceTest
Change-Id: I00e2a1e59e2bd9ae5e2b43d4f85cfd8b343a15ee
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions