aboutsummaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authorThanasis Antoniou2019-11-01 18:56:41 +0200
committerThanasis Antoniou2019-11-01 19:13:27 +0200
commit4eecfb8da9ec8d29cf46d6b023f6386a3ec05318 (patch)
tree9a462a4dab16f6c04864b4b2813e877267eea55e /dists
parent0348aa72fd636e64072b0e25c6768193c456fb8b (diff)
downloadscummvm-rg350-4eecfb8da9ec8d29cf46d6b023f6386a3ec05318.tar.gz
scummvm-rg350-4eecfb8da9ec8d29cf46d6b023f6386a3ec05318.tar.bz2
scummvm-rg350-4eecfb8da9ec8d29cf46d6b023f6386a3ec05318.zip
ANDROID: Disable verification of certificates validity for cloud saving
Also added macros for the plain (non-SDL) Android port __ANDROID_PLAIN_PORT__ and ANDROID_PLAIN_PORT The workaround of this commit uses the same logic as for the Nintendo Switch port and should suffice for testing purposes. It should be replaced by more elaborate code of installing and maintaining a certificates pem file.
Diffstat (limited to 'dists')
-rw-r--r--dists/android/AndroidManifest.xml6
-rw-r--r--dists/android/AndroidManifest.xml.in6
2 files changed, 12 insertions, 0 deletions
diff --git a/dists/android/AndroidManifest.xml b/dists/android/AndroidManifest.xml
index a344af79fa..0e30097213 100644
--- a/dists/android/AndroidManifest.xml
+++ b/dists/android/AndroidManifest.xml
@@ -21,6 +21,12 @@
<uses-permission
android:name="android.permission.ACCESS_WIFI_STATE"/>
+ <uses-permission
+ android:name="android.permission.INTERNET" />
+
+ <uses-permission
+ android:name="android.permission.ACCESS_NETWORK_STATE" />
+
<uses-feature
android:name="android.hardware.wifi"
android:required="false"/>
diff --git a/dists/android/AndroidManifest.xml.in b/dists/android/AndroidManifest.xml.in
index 6b7ee739db..17757d0a9c 100644
--- a/dists/android/AndroidManifest.xml.in
+++ b/dists/android/AndroidManifest.xml.in
@@ -21,6 +21,12 @@
<uses-permission
android:name="android.permission.ACCESS_WIFI_STATE"/>
+ <uses-permission
+ android:name="android.permission.INTERNET" />
+
+ <uses-permission
+ android:name="android.permission.ACCESS_NETWORK_STATE" />
+
<uses-feature
android:name="android.hardware.wifi"
android:required="false"/>