summaryrefslogtreecommitdiff
path: root/ravenwood/junit-impl-src
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-10-17 18:35:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-17 18:35:29 +0000
commit3b26c2b48e710d317f78b4ee81bc2b3922451799 (patch)
tree08e9b6105265d368c6b1026f1c19eaf4e9231b37 /ravenwood/junit-impl-src
parent5428389cb0883dddf868319e76f3c80759a9965d (diff)
parent0bbc544d4e4aa7bf2b3430c748c0e316089740eb (diff)
Merge "[Ravenwood] Support DeviceConfig" into main
Diffstat (limited to 'ravenwood/junit-impl-src')
-rw-r--r--ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuntimeEnvironmentController.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuntimeEnvironmentController.java b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuntimeEnvironmentController.java
index afa7a6c51abb..e2d73d1f1cb5 100644
--- a/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuntimeEnvironmentController.java
+++ b/ravenwood/junit-impl-src/android/platform/test/ravenwood/RavenwoodRuntimeEnvironmentController.java
@@ -40,6 +40,7 @@ import android.os.HandlerThread;
import android.os.Looper;
import android.os.ServiceManager;
import android.os.SystemProperties;
+import android.provider.DeviceConfig_host;
import android.system.ErrnoException;
import android.system.Os;
import android.util.Log;
@@ -333,6 +334,8 @@ public class RavenwoodRuntimeEnvironmentController {
}
android.os.Process.reset$ravenwood();
+ DeviceConfig_host.reset();
+
try {
ResourcesManager.setInstance(null); // Better structure needed.
} catch (Exception e) {