aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java')
-rw-r--r--library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java b/library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java
index 1aa8d07..c887e00 100644
--- a/library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java
+++ b/library/src/main/java/top/trumeet/redirectstorage/RedirectStorage.java
@@ -1,7 +1,5 @@
package top.trumeet.redirectstorage;
-import android.annotation.NonNull;
-import android.annotation.Nullable;
import android.os.Environment;
import java.io.File;
@@ -55,7 +53,6 @@ public class RedirectStorage {
* 获取真实目录,比如需要保存图片等
* @return 真实存储卡目录
*/
- @NonNull
public static File getRealPath () {
try {
UserEnvironmentWrapper wrapper = getInstalledWrapper();
@@ -95,7 +92,6 @@ public class RedirectStorage {
* 获取已安装的 Wrapper
* @return 已安装的 Wrapper
*/
- @Nullable
private static UserEnvironmentWrapper getInstalledWrapper ()
throws NoSuchMethodException, ClassNotFoundException,
NoSuchFieldException, IllegalAccessException{