lineage_patches_unified/patches/platform_system_vold/0009-Every-voldmanaged-storage-is-adoptable.patch
Andy CrossGate Yan 79b5b414a7 Regenerate patches
frameworks/base got too messy, time to clean it up
2021-02-14 10:41:04 +00:00

26 lines
772 B
Diff

From cb15b47a3a92f502dab77024caf66abe38654ba3 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 9/9] 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.25.1