From f1139e13394d95cefb49d6979370f61f94cbe26c Mon Sep 17 00:00:00 2001 From: Emmanuel Garcia Date: Wed, 24 Jun 2020 09:14:00 -0700 Subject: [PATCH] Fix format (flutter/engine#19261) --- .../android/io/flutter/embedding/android/FlutterView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 2fd22da61d..7da7a5f06f 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -171,7 +171,7 @@ public class FlutterView extends FrameLayout implements MouseCursorPlugin.MouseC renderSurface = flutterTextureView; } else { throw new IllegalArgumentException( - String.format("RenderMode not supported with this constructor: ", renderMode)); + String.format("RenderMode not supported with this constructor: %s", renderMode)); } init(); @@ -265,7 +265,7 @@ public class FlutterView extends FrameLayout implements MouseCursorPlugin.MouseC renderSurface = flutterTextureView; } else { throw new IllegalArgumentException( - String.format("RenderMode not supported with this constructor: ", renderMode)); + String.format("RenderMode not supported with this constructor: %s", renderMode)); } init();