fs_mgr: Load DM table as RW for debuggable recoveries
Change-Id: I34ed2c0796e9d16d3ff035f67e3fb45484cd6d77
This commit is contained in:
parent
e9ebe78e24
commit
802ff917b1
|
@ -155,6 +155,9 @@ bool CreateLogicalPartitions(const LpMetadata& metadata, const std::string& supe
|
|||
CreateLogicalPartitionParams params = {
|
||||
.block_device = super_device,
|
||||
.metadata = &metadata,
|
||||
#if defined(__ANDROID_RECOVERY__) && defined(ALLOW_ADBD_DISABLE_VERITY)
|
||||
.force_writable = true,
|
||||
#endif
|
||||
};
|
||||
for (const auto& partition : metadata.partitions) {
|
||||
if (!partition.num_extents) {
|
||||
|
|
Loading…
Reference in New Issue