From a34befa5c8cba6eecb0067e2351a7c5b550a1c48 Mon Sep 17 00:00:00 2001 From: bigbiff Date: Wed, 11 Mar 2020 19:24:18 -0400 Subject: [PATCH] system mount: unmount system after checking for TWRP app Change-Id: I9ab74c9839b50e399432d19839191b7de2d1bf60 (cherry picked from commit 07f991a3ed1457d4774078219e828e6d63756777) --- twrp-functions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 97387b76..593ad9d0 100755 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -1321,6 +1321,7 @@ bool TWFunc::Is_TWRP_App_In_System() { } } DataManager::SetValue("tw_app_installed_in_system", 0); + PartitionManager.UnMount_By_Path(PartitionManager.Get_Android_Root_Path(), false); return false; }