summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-21 20:27:30 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-21 20:27:30 +0200
commitab10ee20988390c80ba68e84608d215fd5ea3a87 (patch)
treeb493ca6973bb4eb84531ba082141bcc3e7565e31 /partition.cpp
parentAdd android_secure support (diff)
downloadandroid_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.gz
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.bz2
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.lz
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.xz
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.zst
android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/partition.cpp b/partition.cpp
index 063603933..bbcb48c70 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -148,7 +148,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
// Do nothing
} else {
// Unhandled data
- LOGI("Unhandled fstab information: '%s', %i\n", ptr, index);
+ LOGI("Unhandled fstab information: '%s', %i, line: '%s'\n", ptr, index, Line.c_str());
}
}
while (index < line_len && full_line[index] != '\0')
@@ -1249,7 +1249,7 @@ bool TWPartition::Restore_Flash_Image(string restore_folder) {
bool TWPartition::Update_Size(bool Display_Error) {
bool ret = false;
- if (!Can_Be_Mounted)
+ if (!Can_Be_Mounted && !Is_Encrypted)
return false;
if (Removable || Is_Encrypted) {