summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2018-08-29 16:22:52 -0700
committerKevin Rocard <krocard@google.com>2018-09-19 18:27:15 +0000
commitd87a288e82120208af566677ef4c30fe1382df39 (patch)
treeb4ad906e03c786f56acf97464ae0c18616c4d36b /camera/common/1.0/default/CameraModule.cpp
parent2070f8b0b8982f0521efb1798fce2cc56631e26e (diff)
Audio VTS: Workaround async HIDL destructor by sleeping
The test creates an instance of the Audio HAL then destroys it and create it again. The test assumed that the destruction was synchronous when in fact it is async with no way of knowing when the object has been destroyed. As a result, until a better solution is found, sleep for 100ms to hopefully let enouth time for the HAL destructor to return. Bug: 112566489 Test: adb shell /data/nativetest64/VtsHalAudioV4_0TargetTest/VtsHalAudioV4_0TargetTest --gtest_filter=*OpenPrimaryDeviceUsingGetDevice atest VtsHalAudioV4_0TargetTest Change-Id: I0ec75c12007d39060232632708722df5bf0f99d7 Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions