Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c8fb6099 authored by Ahmad Khalil's avatar Ahmad Khalil
Browse files

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
parent 5a800ba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment