commit | d9e6671e9656b18bcf6ad74c95f4cd738ab6c084 | [log] [tgz] |
---|---|---|
author | Mohd Faraz <androiabledroid@gmail.com> | Wed Oct 28 20:42:57 2020 +0530 |
committer | bigbiff <bigbiff@teamw.in> | Wed Nov 11 19:06:54 2020 +0000 |
tree | 21950ff4747f93ba452964959223eec99ea1c7ac | |
parent | ddb0a40afd2a777608dea454bd97c4bf8a9558d3 [diff] [blame] |
Added apex resync script BUG: Some devices having issues with mounted apex while flashing some packages. TEST: Added a device specific script in the device tree, which deloaded the apex, which are not needed and its fine. Example script: https://gist.github.com/AndroiableDroid/cf5a04f80b6326c759a59be5d828434e Change-Id: I5c89dcd92871fec63c6a875c1a47eb8145ba71fa Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
diff --git a/partitionmanager.cpp b/partitionmanager.cpp index bd678d4..f30e436 100755 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp
@@ -301,6 +301,7 @@ } else { property_set("twrp.apex.loaded", "true"); } + TWFunc::check_and_run_script("/sbin/resyncapex.sh", "apex"); } } #ifndef USE_VENDOR_LIBS