cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: [CB-4417] Move cordova-plugin-battery-status to its own Java package.
Date Wed, 31 Jul 2013 23:57:56 GMT
Updated Branches:
  refs/heads/dev ea5d923e2 -> 730423d6b


[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/730423d6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/730423d6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/730423d6

Branch: refs/heads/dev
Commit: 730423d6b1949d891c908ede5d2a7c03c6ff27e3
Parents: ea5d923
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Wed Jul 31 19:57:24 2013 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Jul 31 19:57:24 2013 -0400

----------------------------------------------------------------------
 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/730423d6/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index de3bb6a..2e2f6f4 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -13,11 +13,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/730423d6/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