Fix detection of TWRP app in /data

Change-Id: Icab9db0ceb63edba021cc190eea2ebbc87cf3442
This commit is contained in:
Ethan Yonker
2017-01-18 16:44:54 -06:00
parent 88040ccb0e
commit 5e1a7f932c
+2 -1
View File
@@ -1914,7 +1914,8 @@ int GUIAction::checkforapp(std::string arg __unused)
DataManager::SetValue("tw_app_install_status", 2); // 0 = no status, 1 = not installed, 2 = already installed
goto exit;
}
} else if (PartitionManager.Mount_By_Path("/data", false)) {
}
if (PartitionManager.Mount_By_Path("/data", false)) {
string parent_path = "/data/app";
DIR *d = opendir("/data/app");
struct dirent *p;