From: Po Lu Date: Fri, 20 Oct 2023 11:09:22 +0000 (+0800) Subject: Repair detection of empty mailto URLs X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8fa0f13e6e05ba1e9e7f27f240f6ec7d08d09901;p=emacs.git Repair detection of empty mailto URLs * java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Additonally regard mailto:// as an empty URL, since Android does interpret them as such. --- diff --git a/java/org/gnu/emacs/EmacsOpenActivity.java b/java/org/gnu/emacs/EmacsOpenActivity.java index f0f1068d3e2..a5e8be2f238 100644 --- a/java/org/gnu/emacs/EmacsOpenActivity.java +++ b/java/org/gnu/emacs/EmacsOpenActivity.java @@ -470,7 +470,7 @@ public final class EmacsOpenActivity extends Activity whereupon Emacs should replace it with any address provided as EXTRA_EMAIL. */ - if (fileName.equals ("mailto:")) + if (fileName.equals ("mailto:") || fileName.equals ("mailto://")) { tem = intent.getCharSequenceExtra (Intent.EXTRA_EMAIL);