Fix the crash not caused by ActivityNotFoundException
This commit is contained in:
parent
2ea148c30a
commit
c393cdcbae
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user