summaryrefslogtreecommitdiffstats
path: root/twrpDU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpDU.cpp')
-rw-r--r--twrpDU.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/twrpDU.cpp b/twrpDU.cpp
index 0a4e44a34..271dea87b 100644
--- a/twrpDU.cpp
+++ b/twrpDU.cpp
@@ -33,14 +33,13 @@ extern "C" {
using namespace std;
+extern bool datamedia;
+
twrpDU::twrpDU() {
- add_relative_dir(".");
- add_relative_dir("..");
- add_relative_dir("lost+found");
- add_absolute_dir("/data/data/com.google.android.music/files");
-#ifdef RECOVERY_SDCARD_ON_DATA
- add_absolute_dir("/data/media");
-#endif
+ add_relative_dir(".");
+ add_relative_dir("..");
+ add_relative_dir("lost+found");
+ add_absolute_dir("/data/data/com.google.android.music/files");
}
void twrpDU::add_relative_dir(const string& dir) {