Skip to content

Commit

Permalink
Retain the WindowInsetsAnimation callback if code shrinking is enabled (
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored Sep 23, 2020
1 parent 39f76b8 commit 034ab2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
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;
Expand Down Expand Up @@ -192,6 +193,7 @@ public void sendAppPrivateCommand(String action, Bundle data) {
@TargetApi(30)
@RequiresApi(30)
@SuppressLint({"NewApi", "Override"})
@Keep
class ImeSyncDeferringInsetsCallback extends WindowInsetsAnimation.Callback
implements View.OnApplyWindowInsetsListener {
private int overlayInsetTypes;
Expand Down

0 comments on commit 034ab2e

Please sign in to comment.