Fix typo in dexopt.secondary system property

Test: adb shell cmd package bg-dexopt-job
Bug: 32871170

(cherry picked from commit 4466c5ad84)

Change-Id: Ibfe3111198877ed0d758b68be89afb23c4756053

Merged-In: Ic8a14a3fc5c9aa63f6cb376f337b5bf459997325
This commit is contained in:
Calin Juravle
2017-02-07 11:09:01 -08:00
parent 61fd6eab46
commit ad014af09a

View File

@@ -252,7 +252,7 @@ public class BackgroundDexOptService extends JobService {
return result;
}
if (SystemProperties.getBoolean("dalvik.vm.deopt.secondary", false)) {
if (SystemProperties.getBoolean("dalvik.vm.dexopt.secondary", false)) {
result = reconcileSecondaryDexFiles(pm.getDexManager());
if (result == OPTIMIZE_ABORT_BY_JOB_SCHEDULER) {
return result;