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

[Touchless] Fix issue with progressbar visibility

This makes the progressbar invisible by default which prevents it from
showing on startup.

Bug: 959227
Change-Id: I710d2409f80ba4ec85a16e4c9cbc5e631c056eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1595983
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@{#657369}
parent eeafcaee
...@@ -51,6 +51,7 @@ public class ProgressBarView extends RelativeLayout { ...@@ -51,6 +51,7 @@ public class ProgressBarView extends RelativeLayout {
mUrlTextView = findViewById(R.id.notouch_url_text_view); mUrlTextView = findViewById(R.id.notouch_url_text_view);
mProgressBar.setMax(MAX_PROGRESS); mProgressBar.setMax(MAX_PROGRESS);
setVisibility(false);
} }
void setProgress(float progressFraction) { void setProgress(float progressFraction) {
......
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