MD downloads: Fix an issue that might incorrectly leave room for status text under the filename.
A few times, I've seen the a download complete exceptionally quickly and leave the filename positioned as if there's status text, but there isn't. I can't reproduce it consistently, but one possibility is that `statusTextView_.hidden` is a bad signal for whether the layout needs to change (it can be hidden for other reasons, like a dangerous download). This change stops using `hidden` to decide whether to change states, which is an improvement either way. Bug: 589943 Change-Id: I491c06f57860315068fa719f046032353cb2db1e Reviewed-on: https://chromium-review.googlesource.com/664137Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Sidney San Martín <sdy@chromium.org> Cr-Commit-Position: refs/heads/master@{#501391}
Showing
Please register or sign in to comment