commit | fe49375ba9d0917992ade14a35ccd576de7a588d | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed May 15 13:56:37 2024 -0700 |
committer | Yu Shan <shanyu@google.com> | Fri May 17 18:01:29 2024 -0700 |
tree | dbaea46ba0cb98efb3769a003136b3c80a447bad | |
parent | fd7119ea67ea564850a6ccb26d02fc08381d46d3 [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 Merged-In: 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 8cd92b3..d986b41 100644 --- a/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h +++ b/automotive/vehicle/aidl/impl/fake_impl/hardware/include/FakeVehicleHardware.h
@@ -182,7 +182,7 @@ std::unordered_set<int32_t> hvacPowerDependentProps; const bool mForceOverride; - bool mAddExtraTestVendorConfigs; + bool mAddExtraTestVendorConfigs = false; // Only used during initialization. JsonConfigLoader mLoader;