Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,13 @@ public LinkHandler fromId(final String id, final String baseUrl) throws ParsingE
}

/**
* When a VIEW_ACTION is caught this function will test if the url delivered within the calling
* Intent was meant to be watched with this Service.
* Return false if this service shall not allow to be called through ACTIONs.
* Tests if the url is supported by this LinkHandler type
*/
public boolean acceptUrl(final String url) throws ParsingException {
return onAcceptUrl(url);
public final boolean acceptUrl(final String url) {
try {
return onAcceptUrl(url);
} catch (final Exception ignored) {
return false;
}
}
}
Loading