cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: updated imports for device.java
Date Mon, 17 Jun 2013 23:04:33 GMT
Updated Branches:
  refs/heads/master 2447caa4d -> 5428c7ba4


updated imports for device.java


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/5428c7ba
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/5428c7ba
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/5428c7ba

Branch: refs/heads/master
Commit: 5428c7ba414bf65db83a293f53d408ada94786f0
Parents: 2447caa
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Jun 17 16:04:28 2013 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Jun 17 16:04:28 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/5428c7ba/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 0220f1a..d95a126 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -7,7 +7,7 @@ id="org.apache.cordova.core.device">
     <name>Device</name>
 
     <js-module src="www/device.js" name="device">
-        <clobbers target="device">
+        <clobbers target="device" />
     </js-module>
 
     <!-- android -->
@@ -20,8 +20,8 @@ id="org.apache.cordova.core.device">
 
         <source-file src="src/android/Device.java" target-dir="src/org/apache/cordova/core"
/>
 
-        <js-module src="www/android/device.js" name="device">
-            <merges target="device">
+        <js-module src="www/android/device.js" name="device2">
+            <merges target="device" />
         </js-module>
 
     </platform>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/5428c7ba/src/android/Device.java
----------------------------------------------------------------------
diff --git a/src/android/Device.java b/src/android/Device.java
index 6542d21..2bd35ff 100644
--- a/src/android/Device.java
+++ b/src/android/Device.java
@@ -20,6 +20,7 @@ package org.apache.cordova.core;
 
 import java.util.TimeZone;
 
+import org.apache.cordova.CordovaWebView;
 import org.apache.cordova.api.CallbackContext;
 import org.apache.cordova.api.CordovaPlugin;
 import org.apache.cordova.api.LOG;


Mime
View raw message