From b9c349ff8467d99376e24b066f9c2edbe96b209d Mon Sep 17 00:00:00 2001 From: LongCat is Looong <31859944+LongCatIsLooong@users.noreply.github.com> Date: Tue, 21 Apr 2020 13:53:27 -0700 Subject: [PATCH] add missing case for TextInput.requestAutofill --- .../embedding/engine/systemchannels/TextInputChannel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java b/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java index a8fe0d5f95784..33053b54d4d34 100644 --- a/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java +++ b/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java @@ -75,6 +75,10 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull MethodChannel.Result 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);