Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

Commit

Permalink
Let OS handle tel: URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
itkach committed May 10, 2014
1 parent bea6305 commit abbf63b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aarddict/android/ArticleViewActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ public boolean shouldOverrideUrlLoading(WebView view,
|| urlLower.startsWith("https://")
|| urlLower.startsWith("ftp://")
|| urlLower.startsWith("sftp://")
|| urlLower.startsWith("mailto:")) {
|| urlLower.startsWith("mailto:")
|| urlLower.startsWith("tel:")) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri
.parse(url));
startActivity(browserIntent);
Expand Down

0 comments on commit abbf63b

Please sign in to comment.