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

Commit 4f49a5a

Browse files
committed
Fix crash
1 parent e1adecd commit 4f49a5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hover/src/main/java/io/mattcarroll/hover/HoverViewStateCollapsed.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,11 @@ private void closeWithThrowingAnimation(Point targetPoint) {
304304
mFloatingTab.closeAnimation(targetPoint, new Runnable() {
305305
@Override
306306
public void run() {
307-
activateDragger();
307+
try {
308+
activateDragger();
309+
} catch (Exception e) {
310+
// Do nothing. This may happen only on testing
311+
}
308312
onClose(true);
309313
}
310314
});

0 commit comments

Comments
 (0)