OtaDexopt: Fix after-ota space measure

Actually measure the available space.

Bug: 31458900
Change-Id: I16ecee6c275229bc21e908b88b24152484025bc8
This commit is contained in:
Andreas Gampe
2016-09-19 15:18:46 -07:00
parent 8402a17417
commit 8d1d2ab5b9

View File

@@ -172,6 +172,7 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
Log.i(TAG, "Cleaning up OTA Dexopt state."); Log.i(TAG, "Cleaning up OTA Dexopt state.");
} }
mDexoptCommands = null; mDexoptCommands = null;
availableSpaceAfterDexopt = getAvailableSpace();
performMetricsLogging(); performMetricsLogging();
} }