commit | 25371a7e1f7f7d690755e3b12140b39567456a98 | [log] [tgz] |
---|---|---|
author | Mohd Faraz <androiabledroid@gmail.com> | Mon Jun 15 00:28:32 2020 +0530 |
committer | Captain Throwback <captainthrowback@hotmail.com> | Mon Jul 06 19:30:04 2020 -0400 |
tree | 678882cf44572cbd6ad62db32707544c2309a16e | |
parent | 4881c9ed7c86989668a0cd46b5b875c8f7bb9bc0 [diff] |
Fix up cache wipe issue in A-Only device * missed in https://github.com/TeamWin/android_bootable_recovery/commit/3754fabbea2eefeb7c1a0c5bc804f1e14a686855 Change-Id: I8fc3719e7f98c3d9b5fd96a9820b84773d4f5d7d Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
diff --git a/partition.cpp b/partition.cpp index 9c6a64d..6f61de3 100755 --- a/partition.cpp +++ b/partition.cpp
@@ -1701,6 +1701,9 @@ } if (wiped) { + if (Mount_Point == "/cache" && TWFunc::get_log_dir() != DATA_LOGS_DIR) + DataManager::Output_Version(); + if (TWFunc::Path_Exists("/.layout_version") && Mount(false)) TWFunc::copy_file("/.layout_version", Layout_Filename, 0600);