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();