commit | c8fb609900771386b82fb7a4c73b9b0712f1a0be | [log] [tgz] |
---|---|---|
author | Ahmad Khalil <khalilahmad@google.com> | Tue Apr 16 21:18:58 2024 +0000 |
committer | Ahmad Khalil <khalilahmad@google.com> | Wed Apr 17 11:11:42 2024 +0000 |
tree | ce070ac175eb812599b28a75b8d2685d7b1db6a7 | |
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