Skip dexopt if app has preferCodeIntegrity=true
Test: 1. adb install com.android.cts.appintegrity.apk
2. adb shell cmd package compile -m speed -f com.android.cts.appintegrity
3. adb shell oatdump --oat-file=$(echo /data/app/com.android.cts.appintegrity-*/oat/arm64/base.odex)
=> no code is observed in oatdump, only if preferCodeIntegrity=true
Bug: 112037137
Change-Id: Ic7defd8096ae9ccb231c3d4b5ffa3adfa4b8dfab
Loading
Please register or sign in to comment