Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c65fad4 authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "URL-decode tel: URIs."

parents 18ca25be 4d8ea3bc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2571,7 +2571,8 @@ public class WebView extends AbsoluteLayout
                if (text != null) {
                    if (text.startsWith(SCHEME_TEL)) {
                        result.setType(HitTestResult.PHONE_TYPE);
                        result.setExtra(text.substring(SCHEME_TEL.length()));
                        result.setExtra(URLDecoder.decode(text
                                .substring(SCHEME_TEL.length())));
                    } else if (text.startsWith(SCHEME_MAILTO)) {
                        result.setType(HitTestResult.EMAIL_TYPE);
                        result.setExtra(text.substring(SCHEME_MAILTO.length()));