summaryrefslogtreecommitdiff
path: root/tests/BootImageProfileTest
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2019-10-29 17:42:04 -0700
committerMathieu Chartier <mathieuc@google.com>2019-10-29 17:42:04 -0700
commit5bac951a30f388bde68563d6f5707bad5f4c631c (patch)
tree9c41c2e931844a2e56a7295830a734acbcb75109 /tests/BootImageProfileTest
parent6209f7f5fe1ac0420a30289b297cb5cd6227f602 (diff)
Fix test for renamed frameworks.jar
The frameworks jar was renamed to framework-minus-apex.jar. Test: atest BootImageProfileTest Bug: 139883463 Change-Id: I12d321f8458c584e3d262128d534e6f3c18b12a0
Diffstat (limited to 'tests/BootImageProfileTest')
-rw-r--r--tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java b/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java
index 81937e6b7005..ead4a28beff4 100644
--- a/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java
+++ b/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java
@@ -94,6 +94,8 @@ public class BootImageProfileTest implements IDeviceTest {
boolean sawServices = false;
for (String line : res.split("\n")) {
if (line.contains("framework.jar")) {
+ sawFramework = true; // Legacy
+ } else if (line.contains("framework-minus-apex.jar")) {
sawFramework = true;
} else if (line.contains("services.jar")) {
sawServices = true;