From ec453e14237462b6f6e79077a698fe636fd86acb Mon Sep 17 00:00:00 2001 From: Valerie Hau Date: Mon, 21 Oct 2019 14:43:28 -0700 Subject: [PATCH] Adding transformHint to callbacks Bug: 141939598, 133512804 Test: build, boot, manual Change-Id: I58411368e5187b3a23eb9e8ac9abbf1cb1a5d97e --- native/android/surface_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/android/surface_control.cpp b/native/android/surface_control.cpp index 53c01226ca1ae..b34b31ac84392 100644 --- a/native/android/surface_control.cpp +++ b/native/android/surface_control.cpp @@ -294,7 +294,7 @@ void ASurfaceTransaction_setOnComplete(ASurfaceTransaction* aSurfaceTransaction, auto& aSurfaceControlStats = aSurfaceTransactionStats.aSurfaceControlStats; - for (const auto& [surfaceControl, acquireTime, previousReleaseFence] : surfaceControlStats) { + for (const auto& [surfaceControl, acquireTime, previousReleaseFence, transformHint] : surfaceControlStats) { ASurfaceControl* aSurfaceControl = reinterpret_cast(surfaceControl.get()); aSurfaceControlStats[aSurfaceControl].acquireTime = acquireTime; aSurfaceControlStats[aSurfaceControl].previousReleaseFence = previousReleaseFence;