From 54d846b871d8ac3d703a58a5a5de670d856052c5 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 17 Apr 2017 14:26:51 -0700 Subject: [PATCH] Only log about resource context setup failures on debug builds. (flutter/engine#3601) We were unnecessarily alarming users when they used the software backend. Fixes https://github.com/flutter/flutter/issues/9394 --- engine/src/flutter/shell/common/platform_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/common/platform_view.cc b/engine/src/flutter/shell/common/platform_view.cc index 087d9e18bb..88e34607f8 100644 --- a/engine/src/flutter/shell/common/platform_view.cc +++ b/engine/src/flutter/shell/common/platform_view.cc @@ -159,8 +159,8 @@ void PlatformView::SetupResourceContextOnIOThreadPerform( bool current = ResourceContextMakeCurrent(); if (!current) { - FTL_LOG(WARNING) - << "WARNING: Could not setup an OpenGL context on the resource loader."; + FTL_DLOG(WARNING) + << "WARNING: Could not setup a context on the resource loader."; latch->Signal(); return; }