Merge "Trace whether RenderEngine is in a protected context or not" into main
diff --git a/libs/renderengine/skia/SkiaRenderEngine.cpp b/libs/renderengine/skia/SkiaRenderEngine.cpp
index 5f2d1b1..25afc7b 100644
--- a/libs/renderengine/skia/SkiaRenderEngine.cpp
+++ b/libs/renderengine/skia/SkiaRenderEngine.cpp
@@ -347,6 +347,7 @@
if (useProtectedContextImpl(
useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) {
mInProtectedContext = useProtectedContext;
+ SFTRACE_INT("RE inProtectedContext", mInProtectedContext);
// given that we are sharing the same thread between two contexts we need to
// make sure that the thread state is reset when switching between the two.
if (getActiveContext()) {