Fix resizing outline showing when using the corner to close the window
How to reproduce this bug:
1) Disable Live Resizing
2) Set Triangle Long Press Action to Close App
3) Open any resizable window and long press the triangle.
Bug:
The resizing outline appears but doesn’t disappear
Fix:
Add a broadcast to hide the outline when onDestroy is called
diff --git a/src/com/zst/xposed/halo/floatingwindow/hooks/MovableWindow.java b/src/com/zst/xposed/halo/floatingwindow/hooks/MovableWindow.java
index e8dc9ac..a82b454 100644
--- a/src/com/zst/xposed/halo/floatingwindow/hooks/MovableWindow.java
+++ b/src/com/zst/xposed/halo/floatingwindow/hooks/MovableWindow.java
@@ -180,6 +180,8 @@
if (!isHoloFloat) return;
unregisterLayoutBroadcastReceiver(((Activity) param.thisObject).getWindow());
MultiWindowAppManager.appsRegisterListener((Activity) param.thisObject, false);
+ // hide the resizing outline
+ activity.sendBroadcast(new Intent(Common.SHOW_OUTLINE));
}
});
}