summaryrefslogtreecommitdiff
path: root/tests/BackgroundDexOptServiceIntegrationTests
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2018-03-30 12:38:59 -0700
committerCalin Juravle <calin@google.com>2018-03-30 14:04:48 -0700
commit7fc0f633bc11c9fd89eb4bd3581ea2e85eaa31c1 (patch)
treefc7f0c129e5e5ea67c8c8417c87d2e0897fa7ce0 /tests/BackgroundDexOptServiceIntegrationTests
parentd9b53a097d0eec2d1112b25a67b28c203e9251f9 (diff)
Fix BackgroundDexOptTest
Test: atest BackgroundDexOptServiceIntegrationTests Bug: 76425903 Change-Id: I19b72b95ee19ebe1807e1ce108a39dec6196a097
Diffstat (limited to 'tests/BackgroundDexOptServiceIntegrationTests')
-rw-r--r--tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java2
1 files changed, 1 insertions, 1 deletions
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) {