aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java b/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
index 5d569a2..8cfac8f 100644
--- a/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
+++ b/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
@@ -54,14 +54,6 @@ public final class FileListingService {
/** Application folder. */
public final static String DIRECTORY_APP = "app"; //$NON-NLS-1$
- private final static String[] sRootLevelApprovedItems = {
- DIRECTORY_DATA,
- DIRECTORY_SDCARD,
- DIRECTORY_SYSTEM,
- DIRECTORY_TEMP,
- DIRECTORY_MNT,
- };
-
public static final long REFRESH_RATE = 5000L;
/**
* Refresh test has to be slightly lower for precision issue.
@@ -438,22 +430,6 @@ public final class FileListingService {
// get the name
String name = m.group(7);
- // if the parent is root, we only accept selected items
- if (mParentEntry.isRoot()) {
- boolean found = false;
- for (String approved : sRootLevelApprovedItems) {
- if (approved.equals(name)) {
- found = true;
- break;
- }
- }
-
- // if it's not in the approved list we skip this entry.
- if (found == false) {
- continue;
- }
- }
-
// get the rest of the groups
String permissions = m.group(1);
String owner = m.group(2);