0
0
mirror of https://github.com/ponces/treble_aosp.git synced 2025-04-17 18:36:00 +00:00
Files
treble_aosp/patches/trebledroid/platform_system_vold/0005-Every-voldmanaged-storage-is-adoptable.patch
2025-04-01 00:51:53 +00:00

26 lines
776 B
Diff

From 19536d5fffc11717b6bc193ee4c457bd8c5de123 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/6] 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.43.0