While reading through the attributes view I noticed that links in the attribute table are opened without checking whether the device can handle them.
In AttributesFragment.java the shouldOverrideUrlLoading handler passes the tapped URL to view.getContext().startActivity(...). If a link points to a web page or another scheme and there is no app registered to handle it, startActivity throws ActivityNotFoundException and the screen crashes. This can happen on minimal builds with no browser and on locked down profiles.
Wrapping the launch in a try/catch avoids the crash and shows a short message instead. I will open a PR for it.
While reading through the attributes view I noticed that links in the attribute table are opened without checking whether the device can handle them.
In
AttributesFragment.javatheshouldOverrideUrlLoadinghandler passes the tapped URL toview.getContext().startActivity(...). If a link points to a web page or another scheme and there is no app registered to handle it,startActivitythrowsActivityNotFoundExceptionand the screen crashes. This can happen on minimal builds with no browser and on locked down profiles.Wrapping the launch in a try/catch avoids the crash and shows a short message instead. I will open a PR for it.