From c7ef39d1302ee1db56a794e60319e03c96e87b15 Mon Sep 17 00:00:00 2001 From: Dominik Laskowski Date: Tue, 3 Aug 2021 18:28:17 -0700 Subject: [PATCH] evs: Use ui::LayerStack Bug: 182939859 Test: Build Change-Id: I8d21e3a0bea81a351fb0c48882f92eb8c784ad80 --- automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp index 8cc18822f2..e1b9729286 100644 --- a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp +++ b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp @@ -630,7 +630,7 @@ TEST_P(EvsHidlTest, CameraToDisplayRoundTrip) { ASSERT_GT(height, 0); android::ui::DisplayState* pState = (android::ui::DisplayState*)state.data(); - ASSERT_NE(pState->layerStack, -1); + ASSERT_NE(pState->layerStack, android::ui::INVALID_LAYER_STACK); }); // Test each reported camera