aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-22 23:44:03 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-22 23:48:41 +0200
commit4826e0a8c89e43401a3188d7a4d51cdbfd64c37a (patch)
treea16b2c52f430f87d6061d68a2366893d6bc1f32e /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java
parent8d1dc940c4d1e864aad767e298373b02da55f556 (diff)
downloadopen-keychain-4826e0a8c89e43401a3188d7a4d51cdbfd64c37a.tar.gz
open-keychain-4826e0a8c89e43401a3188d7a4d51cdbfd64c37a.tar.bz2
open-keychain-4826e0a8c89e43401a3188d7a4d51cdbfd64c37a.zip
move select file logic into EncryptDecryptOverviewFragment
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java
index 558ab9a85..e223217ef 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/util/FileHelper.java
@@ -53,7 +53,6 @@ public class FileHelper {
/**
* Checks if external storage is mounted if file is located on external storage
*
- * @param file
* @return true if storage is mounted
*/
public static boolean isStorageMounted(String file) {
@@ -70,7 +69,6 @@ public class FileHelper {
* Opens the preferred installed file manager on Android and shows a toast if no manager is
* installed.
*
- * @param fragment
* @param last default selected Uri, not supported by all file managers
* @param mimeType can be text/plain for example
* @param requestCode requestCode used to identify the result coming back from file manager to
@@ -145,7 +143,6 @@ public class FileHelper {
/**
* Opens the storage browser on Android 4.4 or later for opening a file
*
- * @param fragment
* @param mimeType can be text/plain for example
* @param multiple allow file chooser to return multiple files
* @param requestCode used to identify the result coming back from storage browser onActivityResult() in your
@@ -163,7 +160,6 @@ public class FileHelper {
/**
* Opens the storage browser on Android 4.4 or later for saving a file
*
- * @param fragment
* @param mimeType can be text/plain for example
* @param suggestedName a filename desirable for the file to be saved
* @param requestCode used to identify the result coming back from storage browser onActivityResult() in your
@@ -271,7 +267,7 @@ public class FileHelper {
}
- public static interface FileDialogCallback {
- public void onFileSelected(File file, boolean checked);
+ public interface FileDialogCallback {
+ void onFileSelected(File file, boolean checked);
}
}