Refactor the arguments passed to dexopt invocations
Wrap the arguments passed to the various performDexopt calls into the DexoptOptions object. This will make adding extra arguments (like compile only a split) much easier and avoid extending quite a few internal methods. Bug: 38138251 Test: adb shell cmd package compile .... adb shell cmd package bg-dexopt-job ... install new apps and check that they compiled runtest -x services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java Change-Id: Ia9930edd2dceb7535d6168eceb8e3199c82b6306
Loading
Please register or sign in to comment