]> git.eshelyaron.com Git - emacs.git/commitdiff
Add additional permissions to Android port
authorPo Lu <luangruo@yahoo.com>
Sat, 4 Feb 2023 11:49:51 +0000 (19:49 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 4 Feb 2023 11:49:51 +0000 (19:49 +0800)
* doc/emacs/android.texi (Android Environment):
* java/AndroidManifest.xml.in: Add network state permissions.

doc/emacs/android.texi
java/AndroidManifest.xml.in

index ae4080994b883b9f8ccb17d82cd63d2fe48d84f0..cfdf77454ebe9ab900bfdd5e22dac5a2be8735b2 100644 (file)
@@ -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}
index b465875f3f44929e9f862806068951e0f4d6e282..544c87e1f1e48eb182d8650a36d8295c18f2d9ba 100644 (file)
@@ -34,6 +34,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>. -->
   <uses-permission android:name="android.permission.WRITE_CONTACTS" />
   <uses-permission android:name="android.permission.VIBRATE" />
   <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
   <uses-permission android:name="android.permission.INTERNET" />
   <uses-permission android:name="android.permission.SET_WALLPAPER" />
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />