Skip to content

Commit 690ae78

Browse files
committed
Removed TIRAMISU check
1 parent 84b1f0d commit 690ae78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecExceptionHandler.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ class AztecExceptionHandler(private var logHelper: WeakReference<ExceptionHandle
6565
visualEditor.get()?.externalLogger?.logException(DynamicLayoutGetBlockIndexOutOfBoundsException("Error #8828", ex))
6666
}
6767
// See: https://github.com/wordpress-mobile/AztecEditor-Android/issues/880
68-
} else if (ex is java.lang.IllegalArgumentException &&
69-
Build.VERSION.SDK_INT == Build.VERSION_CODES.TIRAMISU &&
70-
ex.message?.contains("Center point is not inside any of the rectangles") == true) {
68+
} else if (ex is java.lang.IllegalArgumentException && ex.message?.contains("Center point is not inside any of the rectangles") == true) {
7169
visualEditor.get()?.externalLogger?.logException(ex)
7270
return
7371
}

0 commit comments

Comments
 (0)