Commit d00b6bdf authored by Agi Sferro's avatar Agi Sferro
Browse files

Catch correct exception for Bug 1646252.

parent c03945b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ class GeckoEngineView @JvmOverloads constructor(
    private fun rebind() {
        try {
            currentSession?.let { currentGeckoView.setSession(it.geckoSession) }
        } catch (e: IllegalStateException) {
        } catch (e: IllegalArgumentException) {
            // This is to debug "Display not attached" crashes
            val otherActivityClassName =
                currentSession?.geckoSession?.accessibility?.view?.context?.javaClass?.simpleName