summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorYu Shan <shanyu@google.com>2022-02-17 19:02:16 -0800
committerYu Shan <shanyu@google.com>2022-02-23 12:40:23 -0800
commit69ab393b882d165b6a510f45c0014f613f254163 (patch)
tree72f4ecbc221430343b686207499bab278f063dd9 /camera/common/1.0/default/CameraModule.cpp
parente77f6be875b1683ec0559a5ee13a20b355008b7b (diff)
Always trigger prop change event for WAIT_FOR_VHAL.
CarService always expect VHAL to generate a property change event when sending WAIT_FOR_VHAL even though there is not actual power state change in VHAL. VHAL power state might already be ON when receive WAIT_FOR_VHAL if CarService client crashes and restarts. In this case, CarService still expects an event to be generated. VehiclePropStore would only generate event when there is an actual property value change, so we must erase the value before setting the value to ensure a change event. Test: atest FakeVehicleHardwareTest Bug: 219861737 Change-Id: I185b07e188f0b581253b5ab29faf859247ed9d38
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions