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
This commit is contained in:
Yu Shan 2024-05-15 13:56:37 -07:00
parent 65c765a8a6
commit 2c83e2a799

View file

@ -184,7 +184,7 @@ class FakeVehicleHardware : public IVehicleHardware {
std::unordered_set<int32_t> hvacPowerDependentProps;
const bool mForceOverride;
bool mAddExtraTestVendorConfigs;
bool mAddExtraTestVendorConfigs = false;
// Only used during initialization.
JsonConfigLoader mLoader;