Commit b7b92d6f authored by Mehran Mahmoudi's avatar Mehran Mahmoudi Committed by Commit Bot

Fix progress bar problem in touchless mode

This fixes an issue which prevented the progress bar to be dismissed.

Bug: 950988
Change-Id: I790b0eb4a3ef02b2d166edbc6e636c2803067e2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560018
Auto-Submit: Mehran Mahmoudi <mahmoudi@chromium.org>
Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Commit-Queue: Mehran Mahmoudi <mahmoudi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649233}
parent 05ddf82c
...@@ -21,7 +21,6 @@ public class ProgressBarViewBinder { ...@@ -21,7 +21,6 @@ public class ProgressBarViewBinder {
} else if (model.getAllProperties().contains(ProgressBarProperties.IS_VISIBLE)) { } else if (model.getAllProperties().contains(ProgressBarProperties.IS_VISIBLE)) {
progressBarView.setVisibility(model.get(ProgressBarProperties.IS_VISIBLE)); progressBarView.setVisibility(model.get(ProgressBarProperties.IS_VISIBLE));
} }
progressBarView.setVisibility(model.get(ProgressBarProperties.IS_VISIBLE));
} else if (ProgressBarProperties.IS_VISIBLE == propertyKey) { } else if (ProgressBarProperties.IS_VISIBLE == propertyKey) {
if (!model.getAllProperties().contains(ProgressBarProperties.IS_ENABLED) if (!model.getAllProperties().contains(ProgressBarProperties.IS_ENABLED)
|| model.get(ProgressBarProperties.IS_ENABLED)) { || model.get(ProgressBarProperties.IS_ENABLED)) {
......
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