commit | 2c83e2a79957a53262ef1e81c8b35ccea3db4f19 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed May 15 13:56:37 2024 -0700 |
committer | Yu Shan <shanyu@google.com> | Wed May 15 23:49:48 2024 +0000 |
tree | a2f7283691cb357e24a3cc774cfa2304d005955b | |
parent | 65c765a8a6794a73e91c029017831275401fd515 [diff] |
Initialize mAddExtraTestVendorConfigs to false. If we do not init, the initial value is undefined. Test: Local run Bug: 340947823 Flag: EXEMPT bugfix Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
diff --git a/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h b/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h index 644d1cd..cd39df1 100644 --- a/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h +++ b/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h
@@ -184,7 +184,7 @@ std::unordered_set<int32_t> hvacPowerDependentProps; const bool mForceOverride; - bool mAddExtraTestVendorConfigs; + bool mAddExtraTestVendorConfigs = false; // Only used during initialization. JsonConfigLoader mLoader;