From 854b363b284592d0bbfdbe31eb487fa64a4b9471 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Mon, 27 Feb 2023 19:15:07 +0000 Subject: Add support for dex containers (DEX v41). Allow multiple dex files within single "container" (either a zip entry or a plain on-disk dex file). This allows sharing of string (and other) dex data, since the offsets can point to shared data payload. Bug: 266950186 Test: test.py -b --host Change-Id: I4f5901fd2f26a5a9dba427eb48c0fa5ddb6243d8 --- test/MultiDexModifiedSecondary/Second.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'test/MultiDexModifiedSecondary') diff --git a/test/MultiDexModifiedSecondary/Second.java b/test/MultiDexModifiedSecondary/Second.java index 3555a7ff36..08ad625bf0 100644 --- a/test/MultiDexModifiedSecondary/Second.java +++ b/test/MultiDexModifiedSecondary/Second.java @@ -15,11 +15,7 @@ */ class Second { - public String getThird() { - return "I Third That."; - } - public String getSecond() { - return "I Second That."; + return "Modified"; // Must have the same length as original so that dex size is same. } } -- cgit v1.2.3-59-g8ed1b