diff options
| author | 2020-11-09 15:25:07 +0000 | |
|---|---|---|
| committer | 2020-11-09 16:35:56 +0000 | |
| commit | 1cd65e88f64636a96723c469b8533ebdc1e12993 (patch) | |
| tree | ccc39b115292a53b18d0cf52ba64642c5a7c9a63 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 9febda8e05bbd924d14682454fdc7a846c38f954 (diff) | |
Fix assert error on vibrator benchmarks
The benchmark Args are generated dynamically with the supported
effects/primitives, and they can be an empty list on some devices.
The benchmark.h has a range(size_t) method to retrive arguments, which
asserts on the args size, but does not expose a way to check if the args
are empty.
Fix: 171192316
Test: atest libvibratorservice_benchmarks
Change-Id: Ida67e81bdf1066a055a6cafbb3b1ef3bdbe23e41
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions