mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Retain the WindowInsetsAnimation callback if code shrinking is enabled (#21330)
This commit is contained in:
parent
39f76b8ac2
commit
034ab2e18e
@ -28,6 +28,7 @@ import android.view.inputmethod.EditorInfo;
|
||||
import android.view.inputmethod.InputConnection;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import android.view.inputmethod.InputMethodSubtype;
|
||||
import androidx.annotation.Keep;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
@ -192,6 +193,7 @@ public class TextInputPlugin {
|
||||
@TargetApi(30)
|
||||
@RequiresApi(30)
|
||||
@SuppressLint({"NewApi", "Override"})
|
||||
@Keep
|
||||
class ImeSyncDeferringInsetsCallback extends WindowInsetsAnimation.Callback
|
||||
implements View.OnApplyWindowInsetsListener {
|
||||
private int overlayInsetTypes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user