cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [6/6] git commit: [CB-4417] Move cordova-plugin-battery-status to its own Java package.
Date Wed, 14 Aug 2013 21:43:08 GMT
[CB-4417] Move cordova-plugin-battery-status to its own Java package.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/4b841d6b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/4b841d6b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/4b841d6b

Branch: refs/heads/dev
Commit: 4b841d6b7b1966c38c4b3bd51715db138ec2553b
Parents: 39d4d14
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 14:42:32 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/4b841d6b/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index c57c110..d8fc88c 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -17,11 +17,11 @@
     <platform name="android">
         <config-file target="res/xml/config.xml" parent="/*">
             <feature name="Battery" >
-                <param name="android-package" value="org.apache.cordova.core.BatteryListener"/>
+                <param name="android-package" value="org.apache.cordova.batterystatus.BatteryListener"/>
             </feature>
         </config-file>
 
-        <source-file src="src/android/BatteryListener.java" target-dir="src/org/apache/cordova/core"
/>
+        <source-file src="src/android/BatteryListener.java" target-dir="src/org/apache/cordova/batterystatus"
/>
     </platform>
     
     <!-- ios -->

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/4b841d6b/src/android/BatteryListener.java
----------------------------------------------------------------------
diff --git a/src/android/BatteryListener.java b/src/android/BatteryListener.java
index 706d3fd..ca47faa 100755
--- a/src/android/BatteryListener.java
+++ b/src/android/BatteryListener.java
@@ -16,7 +16,7 @@
        specific language governing permissions and limitations
        under the License.
 */
-package org.apache.cordova.core;
+package org.apache.cordova.batterystatus;
 
 import org.apache.cordova.CallbackContext;
 import org.apache.cordova.CordovaPlugin;


Mime
View raw message