From 9ffb5c0cf3e97a6579b0d07f0d9952e13c0ff605 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 4 Feb 2023 19:49:51 +0800 Subject: [PATCH] Add additional permissions to Android port * doc/emacs/android.texi (Android Environment): * java/AndroidManifest.xml.in: Add network state permissions. --- doc/emacs/android.texi | 4 ++++ java/AndroidManifest.xml.in | 1 + 2 files changed, 5 insertions(+) diff --git a/doc/emacs/android.texi b/doc/emacs/android.texi index ae4080994b8..cfdf77454eb 100644 --- a/doc/emacs/android.texi +++ b/doc/emacs/android.texi @@ -288,6 +288,8 @@ permissions it has requested upon being installed: @item @code{android.permission.ACCESS_COARSE_LOCATION} @item +@code{android.permission.ACCESS_NETWORK_STATE} +@item @code{android.permission.INTERNET} @item @code{android.permission.SET_WALLPAPER} @@ -337,6 +339,8 @@ permissions upon installation: @item @code{android.permission.VIBRATE} @item +@code{android.permission.ACCESS_NETWORK_STATE} +@item @code{android.permission.INTERNET} @item @code{android.permission.SET_WALLPAPER} diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index b465875f3f4..544c87e1f1e 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in @@ -34,6 +34,7 @@ along with GNU Emacs. If not, see . --> + -- 2.39.5