cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [14/50] [abbrv] android commit: Made some functions in DirectoryManager public
Date Fri, 28 Jun 2013 16:00:34 GMT
Made some functions in DirectoryManager public


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

Branch: refs/heads/master
Commit: 9288158226df497547d9a0506125b227909dfaf3
Parents: 3a55991
Author: Tim Kim <timk@adobe.com>
Authored: Thu Jun 13 15:24:01 2013 -0700
Committer: Tim Kim <timk@adobe.com>
Committed: Thu Jun 13 15:24:01 2013 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/DirectoryManager.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/92881582/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 0c86f0f..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;
 


Mime
View raw message