Change log to match with function it's coming from
Added the function name in the error log when SurfaceControl can't be
found in the callbacks.
Test: Log
Bug: 200285149
Change-Id: I6c721a699c25c8659f5aa5e703de134c8c0a31b7
(cherry picked from commit 768bfa07e598608f135140f1001bf09c7de35b1e)
diff --git a/libs/gui/BLASTBufferQueue.cpp b/libs/gui/BLASTBufferQueue.cpp
index 94864e5..b2cab8c 100644
--- a/libs/gui/BLASTBufferQueue.cpp
+++ b/libs/gui/BLASTBufferQueue.cpp
@@ -295,7 +295,7 @@
flushShadowQueueLocked();
}
} else {
- BQA_LOGE("Failed to find matching SurfaceControl in transaction callback");
+ BQA_LOGE("Failed to find matching SurfaceControl in transactionCommittedCallback");
}
} else {
BQA_LOGE("No matching SurfaceControls found: mSurfaceControlsWithPendingCallback was "
@@ -360,7 +360,7 @@
mTransactionCompleteFrameNumber = 0;
}
} else {
- BQA_LOGE("Failed to find matching SurfaceControl in transaction callback");
+ BQA_LOGE("Failed to find matching SurfaceControl in transactionCallback");
}
} else {
BQA_LOGE("No matching SurfaceControls found: mSurfaceControlsWithPendingCallback was "