Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 652ef5e

Browse files
fix api availability
1 parent a4473ad commit 652ef5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/android/io/flutter/plugin/editing/TextInputPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void requestAutofill() {
8484

8585
@Override
8686
public void finishAutofillContext(boolean shouldSave) {
87-
if (afm == null) {
87+
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O || afm == null) {
8888
return;
8989
}
9090
if (shouldSave) {

0 commit comments

Comments
 (0)