cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [24/53] android commit: Updating plugins
Date Tue, 30 Apr 2013 21:35:40 GMT
Updating plugins


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

Branch: refs/heads/3.0.0
Commit: 904d1587b6e53d5c8da5f0206f7b959bdb4fc98c
Parents: 4f248cb
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Apr 3 14:49:29 2013 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Apr 3 14:49:29 2013 -0700

----------------------------------------------------------------------
 .../src/org/apache/cordova/DirectoryManager.java   |    8 ++++----
 framework/src/org/apache/cordova/core/Capture.java |    1 +
 .../src/org/apache/cordova/core/FileUtils.java     |    1 +
 3 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/904d1587/framework/src/org/apache/cordova/DirectoryManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/DirectoryManager.java b/framework/src/org/apache/cordova/DirectoryManager.java
index 292f402..89c66bc 100644
--- a/framework/src/org/apache/cordova/DirectoryManager.java
+++ b/framework/src/org/apache/cordova/DirectoryManager.java
@@ -40,7 +40,7 @@ public class DirectoryManager {
      * @param name				The name of the file to check.
      * @return					T=exists, F=not found
      */
-    protected static boolean testFileExists(String name) {
+    public static boolean testFileExists(String name) {
         boolean status;
 
         // If SD card exists
@@ -61,7 +61,7 @@ public class DirectoryManager {
      * 
      * @return 		Size in KB or -1 if not available
      */
-    protected static long getFreeDiskSpace(boolean checkInternal) {
+    public static long getFreeDiskSpace(boolean checkInternal) {
         String status = Environment.getExternalStorageState();
         long freeSpace = 0;
 
@@ -98,7 +98,7 @@ public class DirectoryManager {
      * 
      * @return				T=exists, F=not found
      */
-    protected static boolean testSaveLocationExists() {
+    public static boolean testSaveLocationExists() {
         String sDCardStatus = Environment.getExternalStorageState();
         boolean status;
 
@@ -138,7 +138,7 @@ public class DirectoryManager {
      *
      * @return the absolute path of where to store the file
      */
-    protected static String getTempDirectoryPath(Context ctx) {
+    public static String getTempDirectoryPath(Context ctx) {
         File cache = null;
 
         // SD Card Mounted

http://git-wip-us.apache.org/repos/asf/cordova-android/blob/904d1587/framework/src/org/apache/cordova/core/Capture.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/core/Capture.java b/framework/src/org/apache/cordova/core/Capture.java
index 4d31837..030ce99 100644
--- a/framework/src/org/apache/cordova/core/Capture.java
+++ b/framework/src/org/apache/cordova/core/Capture.java
@@ -26,6 +26,7 @@ import java.io.OutputStream;
 import android.os.Build;
 
 import org.apache.cordova.DirectoryManager;
+import org.apache.cordova.FileHelper;
 import org.apache.cordova.api.CallbackContext;
 import org.apache.cordova.api.CordovaPlugin;
 import org.apache.cordova.api.LOG;

http://git-wip-us.apache.org/repos/asf/cordova-android/blob/904d1587/framework/src/org/apache/cordova/core/FileUtils.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/core/FileUtils.java b/framework/src/org/apache/cordova/core/FileUtils.java
index 2939691..5d942ec 100755
--- a/framework/src/org/apache/cordova/core/FileUtils.java
+++ b/framework/src/org/apache/cordova/core/FileUtils.java
@@ -26,6 +26,7 @@ import android.util.Log;
 
 import org.apache.commons.codec.binary.Base64;
 import org.apache.cordova.DirectoryManager;
+import org.apache.cordova.FileHelper;
 import org.apache.cordova.api.CallbackContext;
 import org.apache.cordova.api.CordovaPlugin;
 import org.apache.cordova.api.PluginResult;


Mime
View raw message