summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2020-06-12 11:36:01 -0700
committerCole Faust <colefaust@google.com>2020-06-12 21:12:12 +0000
commit5b07711b88d8a47c67a617a0fbe044a8bfa4e4a5 (patch)
treeb62c1cc1ef9030e7d77c00877ab5583ec5115bf5
parentd8cf5af8edd4dcfe187ef7ac9de98a4a2875fb3d (diff)
downloadSystemUpdater-5b07711b88d8a47c67a617a0fbe044a8bfa4e4a5.tar.gz
DO NOT MERGE: Remove usage of deprecated toolbar method
Bug: 158867330 Test: Presubmits Change-Id: Ia568f91454275ad7ff9cff50df8e068a13ffda26
-rw-r--r--src/com/android/car/systemupdater/UpdateLayoutFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/car/systemupdater/UpdateLayoutFragment.java b/src/com/android/car/systemupdater/UpdateLayoutFragment.java
index 4339845..ff56371 100644
--- a/src/com/android/car/systemupdater/UpdateLayoutFragment.java
+++ b/src/com/android/car/systemupdater/UpdateLayoutFragment.java
@@ -219,7 +219,7 @@ public class UpdateLayoutFragment extends Fragment implements UpFragment {
@Override
protected void onPostExecute(UpdateParser.ParsedUpdate result) {
- mToolbar.hideProgressBar();
+ mProgressBar.setVisible(false);
if (result == null) {
showStatus(R.string.verify_failure);
return;