From b4bce4be708bffd851160562b7853af25f774450 Mon Sep 17 00:00:00 2001 From: LongCatIsLooong <31859944+LongCatIsLooong@users.noreply.github.com> Date: Thu, 23 Apr 2020 10:52:47 -0700 Subject: [PATCH] add missing case for TextInput.requestAutofill (flutter/engine#17857) --- .../embedding/engine/systemchannels/TextInputChannel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java index a8fe0d5f95..33053b54d4 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java @@ -75,6 +75,10 @@ public class TextInputChannel { result.error("error", exception.getMessage(), null); } break; + case "TextInput.requestAutofill": + textInputMethodHandler.requestAutofill(); + result.success(null); + break; case "TextInput.setPlatformViewClient": final int id = (int) args; textInputMethodHandler.setPlatformViewClient(id);