We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c4497 commit c0f2bbcCopy full SHA for c0f2bbc
android/src/main/java/flutter/overlay/window/flutter_overlay_window/OverlayService.java
@@ -364,6 +364,7 @@ public void run() {
364
mAnimationHandler.post(() -> {
365
params.x = (2 * (params.x - mDestX)) / 3 + mDestX;
366
params.y = (2 * (params.y - mDestY)) / 3 + mDestY;
367
+ if(windowManager == null) return;
368
windowManager.updateViewLayout(flutterView, params);
369
if (Math.abs(params.x - mDestX) < 2 && Math.abs(params.y - mDestY) < 2) {
370
TrayAnimationTimerTask.this.cancel();
0 commit comments