lineage_patches_unified/patches/platform_system_vold/0009-Every-voldmanaged-storage-is-adoptable.patch
Andy CrossGate Yan d1718561d3 Sync up to v215
2020-04-13 03:00:27 +00:00

26 lines
768 B
Diff

From c9d44f78250d927f6ff1712a6097c33559500cdd Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Wed, 11 Mar 2020 14:02:35 +0100
Subject: [PATCH] Every voldmanaged storage is adoptable
---
main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.cpp b/main.cpp
index 4d61110..6f6e803 100644
--- a/main.cpp
+++ b/main.cpp
@@ -255,7 +255,7 @@ static int process_config(VolumeManager* vm, bool* has_adoptable, bool* has_quot
int partnum = entry.partnum;
int flags = 0;
- if (entry.is_encryptable()) {
+ if (entry.is_encryptable() || true) {
flags |= android::vold::Disk::Flags::kAdoptable;
*has_adoptable = true;
}
--
2.17.1