Keep track of the installation status of AB updates
This allows to show the correct labels. Change-Id: I52f42e042af0df2d091d786c03102cec352b3a5b
This commit is contained in:
@@ -67,6 +67,8 @@ class ABUpdateInstaller {
|
||||
case UpdateEngine.UpdateStatusConstants.FINALIZING: {
|
||||
int progress = Math.round(percent * 100);
|
||||
mUpdaterController.getActualUpdate(mDownloadId).setInstallProgress(progress);
|
||||
boolean finalizing = status == UpdateEngine.UpdateStatusConstants.FINALIZING;
|
||||
mUpdaterController.getActualUpdate(mDownloadId).setFinalizing(finalizing);
|
||||
mUpdaterController.notifyInstallProgress(mDownloadId);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user