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.
This commit is contained in:
Po Lu 2023-10-20 19:09:22 +08:00
parent feba0dd457
commit 8fa0f13e6e

View file

@ -470,7 +470,7 @@ private class EmacsClientThread extends Thread
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);