mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
Update Android port
* java/AndroidManifest.xml.in: Exclude non-files from opening in Emacs. * java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Avert crash should scheme be NULL.
This commit is contained in:
parent
862e5effbf
commit
db704687bb
2 changed files with 10 additions and 1 deletions
|
|
@ -438,6 +438,12 @@ public final class EmacsOpenActivity extends Activity
|
|||
|
||||
scheme = uri.getScheme ();
|
||||
|
||||
/* It is possible for scheme to be NULL, under Android 2.3 at
|
||||
least. */
|
||||
|
||||
if (scheme == null)
|
||||
return;
|
||||
|
||||
/* If URL is a mailto URI, call `message-mailto' much the same
|
||||
way emacsclient-mail.desktop does. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue