diff --git a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp index e56c2d1834..a3dc45bb5b 100644 --- a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp +++ b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp @@ -41,14 +41,14 @@ static const float kNanoToSeconds = 0.000000001f; #include #include +#include #include #include -#include #include +#include #include -#include #include -#include +#include #include #include #include @@ -622,7 +622,7 @@ TEST_P(EvsHidlTest, CameraToDisplayRoundTrip) { ASSERT_GT(config.size(), 0); ASSERT_GT(state.size(), 0); - android::DisplayConfig* pConfig = (android::DisplayConfig*)config.data(); + android::ui::DisplayMode* pConfig = (android::ui::DisplayMode*)config.data(); const auto width = pConfig->resolution.getWidth(); const auto height = pConfig->resolution.getHeight(); LOG(INFO) << " Resolution: " << width << "x" << height;