1
0
mirror of https://github.com/ponces/treble_aosp.git synced 2024-11-24 19:06:23 +00:00
treble_aosp/patches/trebledroid/platform_system_vold/0005-Every-voldmanaged-storage-is-adoptable.patch
2024-06-18 10:56:01 +01:00

26 lines
776 B
Diff

From 1cdec442e37f35dcb8fcadf103c63901fb94b58c 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 5/5] Every voldmanaged storage is adoptable
---
main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.cpp b/main.cpp
index 078ee14b..475060dc 100644
--- a/main.cpp
+++ b/main.cpp
@@ -269,7 +269,7 @@ static int process_config(VolumeManager* vm, VoldConfigs* configs) {
std::string nickname(entry.label);
int flags = 0;
- if (entry.is_encryptable()) {
+ if (entry.is_encryptable() || true) {
flags |= android::vold::Disk::Flags::kAdoptable;
configs->has_adoptable = true;
}
--
2.34.1