Commit dc9890f0 authored by Gabriele M's avatar Gabriele M

Use a determinate progressbar while installing A/B updates

This needs to be done explicitly after the recent UI changes.

Change-Id: Ie333a51d7c679c17998872071b2bd84c1f47ca48
parent 75c31f32
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment