From 7fc0f633bc11c9fd89eb4bd3581ea2e85eaa31c1 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Fri, 30 Mar 2018 12:38:59 -0700 Subject: Fix BackgroundDexOptTest Test: atest BackgroundDexOptServiceIntegrationTests Bug: 76425903 Change-Id: I19b72b95ee19ebe1807e1ce108a39dec6196a097 --- .../com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/BackgroundDexOptServiceIntegrationTests') diff --git a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java index 3734412981d8..e247951f16ef 100644 --- a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java +++ b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java @@ -173,7 +173,7 @@ public final class BackgroundDexOptServiceIntegrationTests { private static String getCompilerFilter(String pkg) throws IOException { String cmd = String.format("dumpsys package %s", pkg); String[] lines = runShellCommandSplitLines(cmd); - final String substr = "compilation_filter="; + final String substr = "[status="; for (String line : lines) { int startIndex = line.indexOf(substr); if (startIndex < 0) { -- cgit v1.2.3-59-g8ed1b