aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-12 23:15:58 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-12 23:15:58 +0000
commit13f2bc8f12b3bc64547e2771c4a022e325dff140 (patch)
treee306796726450c537b193b58cfa6445ed8dcc8c5
parent56d403ade4fa5ec5abd5d6912a1a543904654010 (diff)
parent1344c8287bc705fe2a4e14618e02c285276c89d4 (diff)
downloadvogar-android14-qpr1-s2-release.tar.gz
Change-Id: I0fd0df6f168b6348fffa885c68351006746e9713
-rw-r--r--src/vogar/android/DeviceRuntime.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vogar/android/DeviceRuntime.java b/src/vogar/android/DeviceRuntime.java
index 2b5f01f..e10bd36 100644
--- a/src/vogar/android/DeviceRuntime.java
+++ b/src/vogar/android/DeviceRuntime.java
@@ -89,6 +89,9 @@ public final class DeviceRuntime implements Mode {
// If you edit this, see also HostRuntime...
VmCommandBuilder vmCommandBuilder = new VmCommandBuilder(run.log)
.env("ANDROID_DATA", run.getAndroidDataPath())
+ // b/150126287: avoid using libnetd_client within chroot,
+ // as it might not match the netd running outside chroot.
+ .env("ANDROID_NO_USE_FWMARK_CLIENT", "1")
.workingDirectory(workingDirectory)
.vmCommand(vmCommand)
.vmArgs("-Duser.home=" + run.deviceUserHome)