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>
(cherry picked from commit 25371a7e1f7f7d690755e3b12140b39567456a98)
This commit is contained in:
Mohd Faraz
2020-07-06 20:56:57 -04:00
committed by bigbiff
parent 25d25b9e67
commit e1d72623b7
+3
View File
@@ -1702,6 +1702,9 @@ bool TWPartition::Wipe(string New_File_System) {
}
if (wiped) {
if (Mount_Point == "/cache" && TWFunc::get_log_dir() != DATA_LOGS_DIR)
DataManager::Output_Version();
if (update_crypt) {
Setup_File_System(false);
if (Is_Encrypted && !Is_Decrypted) {