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 2013/06/15 00:31:35 UTC

[2/2] android commit: Fixing the config.xml on tests to use the ActivityPlugin

Fixing the config.xml on tests to use the ActivityPlugin


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/66898272
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/66898272
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/66898272

Branch: refs/heads/master
Commit: 6689827278346def6607d7572ce5923eb3b1836a
Parents: 86a24eb
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Jun 14 15:31:23 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Jun 14 15:31:23 2013 -0700

----------------------------------------------------------------------
 test/res/xml/config.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/66898272/test/res/xml/config.xml
----------------------------------------------------------------------
diff --git a/test/res/xml/config.xml b/test/res/xml/config.xml
index 5ad2b25..09df4b0 100644
--- a/test/res/xml/config.xml
+++ b/test/res/xml/config.xml
@@ -30,8 +30,7 @@
         Apache Cordova Team
     </author>
 
-    <access origin="*"/>
- 
+    <access origin="*.apache.org"/>
 
     <!-- <content src="http://mysite.com/myapp.html" /> for external pages -->
     <content src="index.html" />
@@ -42,6 +41,9 @@
     <preference name="useBrowserHistory" value="true" />
     <preference name="exit-on-suspend" value="false" />
 
+    <feature name="Activity">
+        <param name="android-package" value="org.apache.cordova.test.ActivityPlugin" />
+    </feature>
     <feature name="App">
       <param name="android-package" value="org.apache.cordova.App"/>
     </feature>