diff options
| author | Po Lu | 2023-10-15 13:10:34 +0800 |
|---|---|---|
| committer | Po Lu | 2023-10-15 13:11:37 +0800 |
| commit | 93104cff532f932bcea65d02a59c916767a31645 (patch) | |
| tree | 20070ee4cb8500824fceef285bd4b104ada3748b /java/debug.sh | |
| parent | a3fd382f3fe803e0b61c5353e9b5bdaf4d1e564e (diff) | |
| download | emacs-93104cff532f932bcea65d02a59c916767a31645.tar.gz emacs-93104cff532f932bcea65d02a59c916767a31645.zip | |
Correctly receive files through Android DND
* java/org/gnu/emacs/EmacsService.java (getUsefulContentResolver)
(getContentResolverContext): New functions which return a
content resolver from an EmacsActivity, if at all possible.
(openContentUri, checkContentUri): Probe or open URIs through
such content resolvers. Probe URIs by opening them if merely
testing permissions fails, for DND URIs do not make
checkCallingUriPermission return true.
* java/org/gnu/emacs/EmacsWindow.java (onDragEvent): Address
potential crash.
* src/androidvfs.c (android_check_content_access): Circumvent
JNI dynamic method dispatch.
(android_authority_name): Guarantee NAME is never a directory.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions