Use a determinate progressbar while installing A/B updates
This needs to be done explicitly after the recent UI changes. Change-Id: Ie333a51d7c679c17998872071b2bd84c1f47ca48
This commit is contained in:
@@ -151,6 +151,7 @@ public class UpdatesListAdapter extends RecyclerView.Adapter<UpdatesListAdapter.
|
||||
update.getFinalizing() ?
|
||||
R.string.finalizing_package :
|
||||
R.string.preparing_ota_first_boot);
|
||||
viewHolder.mProgressBar.setIndeterminate(false);
|
||||
viewHolder.mProgressBar.setProgress(update.getInstallProgress());
|
||||
} else if (mUpdaterController.isVerifyingUpdate(downloadId)) {
|
||||
setButtonAction(viewHolder.mAction, Action.INSTALL, downloadId, false);
|
||||
|
Reference in New Issue
Block a user