You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2014/05/01 00:02:54 UTC
[10/18] android commit: Crosswalk runtime needs the two permissions
to auto detect connection status.
Crosswalk runtime needs the two permissions to auto detect connection status.
See more details at: https://crosswalk-project.org/jira/browse/XWALK-1324
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/09ac30ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/09ac30ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/09ac30ef
Branch: refs/heads/pluggable_webview
Commit: 09ac30ef2e5621f517cd01961cb91e8fd53c91e9
Parents: 79e313a
Author: Ningxin Hu <ni...@intel.com>
Authored: Mon Apr 21 15:17:23 2014 +0800
Committer: Ningxin Hu <ni...@intel.com>
Committed: Mon Apr 21 15:17:23 2014 +0800
----------------------------------------------------------------------
bin/templates/project/AndroidManifest.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/09ac30ef/bin/templates/project/AndroidManifest.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/AndroidManifest.xml b/bin/templates/project/AndroidManifest.xml
index 8a57854..dba1b44 100644
--- a/bin/templates/project/AndroidManifest.xml
+++ b/bin/templates/project/AndroidManifest.xml
@@ -29,6 +29,8 @@
/>
<uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:hardwareAccelerated="true">