0
0
mirror of https://github.com/ponces/treble_aosp.git synced 2025-04-23 03:36:00 +00:00
Files
treble_aosp/patches/trebledroid/platform_system_linkerconfig/0001-Disable-vndklite-handling.patch
2025-04-01 00:51:53 +00:00

27 lines
695 B
Diff

From 5776ea47179593d32cae58ca4fa574571f2b40d9 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Wed, 27 Oct 2021 14:40:26 -0400
Subject: [PATCH] Disable vndklite handling
Change-Id: I4a132512471a68891f2efb59539267c35a3c3e56
---
modules/environment.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/environment.cc b/modules/environment.cc
index 01e520e..e4991c2 100644
--- a/modules/environment.cc
+++ b/modules/environment.cc
@@ -28,7 +28,7 @@ bool IsTreblelizedDevice() {
}
bool IsVndkLiteDevice() {
- return Variables::GetValue("ro.vndk.lite").value_or("") == "true";
+ return false;
}
bool IsVndkInSystemNamespace() {
--
2.43.0