]> git.eshelyaron.com Git - emacs.git/commit
Facilitate opening content:// files without a linked file name
authorPo Lu <luangruo@yahoo.com>
Wed, 13 Sep 2023 01:24:16 +0000 (09:24 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 13 Sep 2023 01:30:14 +0000 (09:30 +0800)
commit9500fbe231ec32c66e619b7fc8b221d163d5acca
tree9ccf5ca16c278933329fa811c2ba5ceb33c83786
parentf542a4537e430cee38d8ddb9c64e0bef393ae03a
Facilitate opening content:// files without a linked file name

* java/org/gnu/emacs/EmacsOpenActivity.java
(checkReadableOrCopy): If FILE is NULL, return a matching
content URI if possible, else generate a file name with the URI
as a reference.
(onCreate): Catch SecurityException around calls to
openFileDescriptor.
java/org/gnu/emacs/EmacsOpenActivity.java