diff options
| author | Po Lu | 2023-10-02 11:00:39 +0800 |
|---|---|---|
| committer | Po Lu | 2023-10-02 11:00:39 +0800 |
| commit | db704687bb9992212cec0d5435f6dcd75161e229 (patch) | |
| tree | 3cceef70e6a7813589822a871e954b958f7c0b25 /java/AndroidManifest.xml.in | |
| parent | 862e5effbf9b991af3fbbc8e31df33e64483c56f (diff) | |
| download | emacs-db704687bb9992212cec0d5435f6dcd75161e229.tar.gz emacs-db704687bb9992212cec0d5435f6dcd75161e229.zip | |
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.
Diffstat (limited to 'java/AndroidManifest.xml.in')
| -rw-r--r-- | java/AndroidManifest.xml.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index d4017a055dd..9ba9dabde81 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in | |||
| @@ -110,7 +110,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 110 | <action android:name="android.intent.action.EDIT"/> | 110 | <action android:name="android.intent.action.EDIT"/> |
| 111 | <action android:name="android.intent.action.PICK"/> | 111 | <action android:name="android.intent.action.PICK"/> |
| 112 | <category android:name="android.intent.category.DEFAULT"/> | 112 | <category android:name="android.intent.category.DEFAULT"/> |
| 113 | <data android:mimeType="*/*"/> | 113 | <!-- Don't offer to start Emacs for URLs that designate |
| 114 | resources other than files. --> | ||
| 115 | <data android:mimeType="*/*" android:scheme="file"/> | ||
| 116 | <data android:mimeType="*/*" android:scheme="content"/> | ||
| 114 | </intent-filter> | 117 | </intent-filter> |
| 115 | 118 | ||
| 116 | <!-- Facilitate opening org-protocol:// URLs as well, the same | 119 | <!-- Facilitate opening org-protocol:// URLs as well, the same |