summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2019-10-02 18:14:02 +0100
committer Anton Hansson <hansson@google.com> 2019-10-03 14:52:37 +0100
commit12b8d427c799de0ff38fea4c71729b794b84eec6 (patch)
treeaa979d5c0a80402d730df9c99b6e2084425c6270 /java/java.go
parent43ab0bc24a3c20830e49561b4372f4a544bdf56f (diff)
Move odexes of non-system apps into system_other
Previously, the patterns in SYSTEM_OTHER_ODEX_FILTER only matched subpaths of /system. Broaden this to match /<p> as well as /system/<p>. Because SYSTEM_OTHER_ODEX_FILTER includes system_ext and product apps, the immediate effect of this is that the odex and vdex files of apps on those partitions move to system_other for A/B devices. This makes the product and system_ext partitions smaller, which in turn makes OTAs smaller. Bug: 141707536 Test: soong unit tests Test: (adb shell dumpsys package com.android.stk && adb shell dumpsys package com.android.quicksearchbox) | grep -i dexopt -A3; verify dexpreopt state is 'prebuilt' for both Test: adb shell find /data/dalvik-cache -name '*QuickSearch*.vdex' | wc -l == 1 Test: adb shell find /data/dalvik-cache -name '*Stk*.vdex' | wc -l == 1 Change-Id: I6e1e6d89c5822d48b522e7e6d77a363ed9f0e05b
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions