Fix bug with displaying visual profile bars
Test: Used debugging feature.
BUG:32370375
Change-Id: I56e4e2155566a219ce43882e48b327123edccfe2
diff --git a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
index 494f14d..ca7ee8b 100644
--- a/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
+++ b/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
@@ -88,7 +88,7 @@
// Draw visual debugging features
if (CC_UNLIKELY(Properties::showDirtyRegions
- || ProfileType::None == Properties::getProfileType())) {
+ || ProfileType::None != Properties::getProfileType())) {
SkCanvas* profileCanvas = surface->getCanvas();
SkiaProfileRenderer profileRenderer(profileCanvas);
profiler->draw(profileRenderer);