Fix display of .android_secure size in Backup
Setup_Settings_Storage_Partition() needs to be called before
Update_System_Details() in order for the /and-sec mount point to be
setup and size read correctly.
Change-Id: Id5394c90b6d095027c1b852764676dc6080a871d
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 3e5d696..1b351de 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -104,9 +104,9 @@
else
LOGINFO("Error creating fstab\n");
}
+ Setup_Settings_Storage_Partition(settings_partition);
Update_System_Details();
UnMount_Main_Partitions();
- Setup_Settings_Storage_Partition(settings_partition);
return true;
}