summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.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> 2020-09-11 14:45:51 +0100
commit75480154e2242cc50b230180e801c3930530d0b9 (patch)
treec558f6bb29fbc94656e455010911de843322045f /java/hiddenapi_singleton.go
parentc2c2d4e7166f0345d8c76fa4328d9dbd3eb1fb9a (diff)
Re-land "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: I0cf141014b9ddf32159cff47b0325d9c78b549f2
Diffstat (limited to 'java/hiddenapi_singleton.go')
0 files changed, 0 insertions, 0 deletions