summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyberHexen <SyberHexen@gmail.com>2019-10-30 02:08:16 +0100
committerSyberHexen <SyberHexen@gmail.com>2019-10-30 02:28:48 +0100
commita895118a1fb88595d41c7e29b079d9f3c547258c (patch)
treef947712ab6e1325b959a81e92e2eec08c9b07601
parentMerge "Update Portuguese (Portugal) translation" into android-9.0 (diff)
downloadandroid_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar.gz
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar.bz2
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar.lz
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar.xz
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.tar.zst
android_bootable_recovery-a895118a1fb88595d41c7e29b079d9f3c547258c.zip
Diffstat (limited to '')
-rwxr-xr-xtwrp-functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index e6a489f35..4386ff6f4 100755
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -1240,7 +1240,7 @@ int TWFunc::stream_adb_backup(string &Restore_Name) {
std::string TWFunc::get_cache_dir() {
if (PartitionManager.Find_Partition_By_Path(NON_AB_CACHE_DIR) == NULL) {
- if (PartitionManager.Find_Partition_By_Path(NON_AB_CACHE_DIR) == NULL) {
+ if (PartitionManager.Find_Partition_By_Path(AB_CACHE_DIR) == NULL) {
if (PartitionManager.Find_Partition_By_Path(PERSIST_CACHE_DIR) == NULL) {
LOGINFO("Unable to find a directory to store TWRP logs.");
return "";