Fixing the issue with progress bar.

If we call hide() before the progress bar is actually shown,
the hide request is ignored. This cl takes care of the pending
hide request.

Bug: 28040656
Change-Id: I0c18ee3040620f55c62c5bb4f9a244c3a9f9b0aa
1 file changed