Fix unknown VehicleApPowerStateReport ON.

Fix an incorrect error message for VehicleApPowerStateReport ON.

Flag: EXEMPT HAL fix
Test: Manual test
Bug: 371614400
Change-Id: I81406931d27e2f8b174b52720d4f502e0e32fdd4
This commit is contained in:
Yu Shan
2024-10-04 13:43:56 -07:00
parent 50956bd1cf
commit 51d6329919

View File

@@ -538,6 +538,9 @@ VhalResult<void> FakeVehicleHardware::setApPowerStateReport(const VehiclePropVal
<< getErrorMsg(writeResult);
}
break;
case toInt(VehicleApPowerStateReport::ON):
ALOGI("Received VehicleApPowerStateReport::ON, entering normal operating state");
break;
default:
ALOGE("Unknown VehicleApPowerStateReport: %d", state);
break;