Fix the crash not caused by ActivityNotFoundException

This commit is contained in:
ryuunoakaihitomi 2021-05-31 18:57:05 +08:00
parent 2ea148c30a
commit c393cdcbae

View File

@ -25,7 +25,9 @@ public class LinkResolverDef implements LinkResolver {
try { try {
context.startActivity(intent); context.startActivity(intent);
} catch (ActivityNotFoundException e) { } catch (ActivityNotFoundException e) {
Log.w("LinkResolverDef", "Actvity was not found for the link: '" + link + "'"); Log.w("LinkResolverDef", "Activity was not found for the link: '" + link + "'");
} catch (Exception e) {
Log.w("LinkResolverDef", e.getMessage(), e);
} }
} }