ART: Add jars to boot integrity
Add framework jars in general.
Bug: 125474642
Test: manual
Change-Id: I3fe020920ae97425ff7e10868ce12ebeccb3e070
diff --git a/build/apex/art_apex_boot_integrity.sh b/build/apex/art_apex_boot_integrity.sh
index c21377b..36d0f7f 100644
--- a/build/apex/art_apex_boot_integrity.sh
+++ b/build/apex/art_apex_boot_integrity.sh
@@ -23,7 +23,7 @@
# Measure (and enable) fsverity to see if things are installed. Enable is not
# idempotent, and we'd need to parse the error string to see whether it says
# data was installed. Rather do a two-step.
-FILES=`find /data/dalvik-cache -type f -a -name 'system@framework@boot*'`
+FILES=`find /data/dalvik-cache -type f -a -name 'system@framework@boot*' -o name 'system@framework@*jar*'`
if [ ! -f "/system/bin/fsverity" ] ; then
log_error "Device is not fsverity-enabled."