summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2024-02-09 21:40:12 +0000
committer Adrian Roos <roosa@google.com> 2024-02-09 21:40:12 +0000
commita71d4edb3fe7acbe31f3273efdff3ad471ed6bb4 (patch)
treea6765475b0b3baea0b457376c43ec2a7dc8f2388 /libs/gui/ConsumerBase.cpp
parent427e333041183a32f306d945f05b31e65414614a (diff)
vibratorservice: Fix broken benchmarks
Fixes an issue with the benchmarks, where they would skip unsupported situations by early returning without reaching the measure loop and without notifying the framework. The framework would then retry the exact same scenario indefinitely. To fix, makes sure every early return also calls SkipWithMessage. Fixes: 279134938 Test: adb shell /tmp/VibratorHalControllerBenchmarks --v=2 Change-Id: If7f92816133bf3d03a5915b6f077eb961d55cf75
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions