From 5e1a7f932c39b96508c6dd417cf449494d901204 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 18 Jan 2017 16:44:54 -0600 Subject: Fix detection of TWRP app in /data Change-Id: Icab9db0ceb63edba021cc190eea2ebbc87cf3442 --- gui/action.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/action.cpp b/gui/action.cpp index ef110bcfd..fef476287 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -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; -- cgit v1.2.3