diff options
| author | Po Lu | 2024-08-09 10:11:47 +0800 |
|---|---|---|
| committer | Po Lu | 2024-08-09 10:11:51 +0800 |
| commit | 16462b1a62d04a726f99f275b37fd3e6fd512202 (patch) | |
| tree | 2312592c67cb4d14e3172b6b4cac921d73f5411b /java/AndroidManifest.xml.in | |
| parent | a1b8c2610a4d0cc99088c024e884495b26a17fa8 (diff) | |
| download | emacs-16462b1a62d04a726f99f275b37fd3e6fd512202.tar.gz emacs-16462b1a62d04a726f99f275b37fd3e6fd512202.zip | |
Register for more Intents actions on Android
* java/AndroidManifest.xml.in <EmacsOpenActivity>: Register
for SEND Intents with mailto URIs.
* java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Use
Intent constants rather than string literals.
Diffstat (limited to 'java/AndroidManifest.xml.in')
| -rw-r--r-- | java/AndroidManifest.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index f3bab2c1b76..df00e497f8f 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in | |||
| @@ -270,6 +270,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 270 | </intent-filter> | 270 | </intent-filter> |
| 271 | 271 | ||
| 272 | <intent-filter> | 272 | <intent-filter> |
| 273 | <action android:name="android.intent.action.SEND"/> | ||
| 273 | <action android:name="android.intent.action.SENDTO"/> | 274 | <action android:name="android.intent.action.SENDTO"/> |
| 274 | <data android:scheme="mailto"/> | 275 | <data android:scheme="mailto"/> |
| 275 | <category android:name="android.intent.category.DEFAULT"/> | 276 | <category android:name="android.intent.category.DEFAULT"/> |