aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/filemanager/util/MountPointHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/filemanager/util/MountPointHelper.java')
-rw-r--r--src/com/cyanogenmod/filemanager/util/MountPointHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/filemanager/util/MountPointHelper.java b/src/com/cyanogenmod/filemanager/util/MountPointHelper.java
index e2e7b4c5..d63c1b54 100644
--- a/src/com/cyanogenmod/filemanager/util/MountPointHelper.java
+++ b/src/com/cyanogenmod/filemanager/util/MountPointHelper.java
@@ -97,7 +97,7 @@ public final class MountPointHelper {
// Refresh mount points after some time (5 minutes should be enough)
long now = System.currentTimeMillis();
if (sMountPoints == null || (now - sLastCachedTime) > MAX_CACHED_TIME ||
- FileManagerApplication.isDeviceRooted()) {
+ FileManagerApplication.hasShellCommands()) {
//Retrieve the mount points
List<MountPoint> mps =
CommandHelper.getMountPoints(null, console);