diff options
author | 2023-02-27 19:15:07 +0000 | |
---|---|---|
committer | 2023-11-13 18:27:34 +0000 | |
commit | 854b363b284592d0bbfdbe31eb487fa64a4b9471 (patch) | |
tree | a5674430183437769a8a390bd1b4b2e532d2223a /test/MultiDexModifiedSecondary | |
parent | 0d3cf53ae0d400f7850d96798116dd3d4b963530 (diff) |
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
Diffstat (limited to 'test/MultiDexModifiedSecondary')
-rw-r--r-- | test/MultiDexModifiedSecondary/Second.java | 6 |
1 files changed, 1 insertions, 5 deletions
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. } } |