cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [5/7] git commit: [CB-4417] Move cordova-plugin-network-information to its own Java package.
Date Mon, 19 Aug 2013 22:21:36 GMT
[CB-4417] Move cordova-plugin-network-information to its own Java package.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/9b762951
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/9b762951
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/9b762951

Branch: refs/heads/master
Commit: 9b762951d4b4f396ff7f576326380d90b56d98a1
Parents: 4ea6816
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Wed Jul 31 19:57:24 2013 -0400
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Wed Aug 14 15:51:03 2013 -0700

----------------------------------------------------------------------
 plugin.xml                      | 4 ++--
 src/android/NetworkManager.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/9b762951/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 2184d5e..252fb9f 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -32,7 +32,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
     <platform name="android">
         <config-file target="res/xml/config.xml" parent="/*">
             <feature name="NetworkStatus">
-                <param name="android-package" value="org.apache.cordova.core.NetworkManager"/>
+                <param name="android-package" value="org.apache.cordova.networkinformation.NetworkManager"/>
             </feature>   
         </config-file>
         
@@ -40,7 +40,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
             <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
         </config-file>
 
-        <source-file src="src/android/NetworkManager.java" target-dir="src/org/apache/cordova/core"
/>
+        <source-file src="src/android/NetworkManager.java" target-dir="src/org/apache/cordova/networkinformation"
/>
         
     </platform>
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/9b762951/src/android/NetworkManager.java
----------------------------------------------------------------------
diff --git a/src/android/NetworkManager.java b/src/android/NetworkManager.java
index 42282bf..e2ac500 100755
--- a/src/android/NetworkManager.java
+++ b/src/android/NetworkManager.java
@@ -16,7 +16,7 @@
        specific language governing permissions and limitations
        under the License.
 */
-package org.apache.cordova.core;
+package org.apache.cordova.networkinformation;
 
 import org.apache.cordova.CallbackContext;
 import org.apache.cordova.CordovaInterface;


Mime
View raw message