summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2011-07-06 15:13:03 -0700
committerBrian Carlstrom <bdc@google.com>2011-07-06 15:13:48 -0700
commit945e383833c77101eb415b28bad4d1c6dfe85485 (patch)
tree36d7b2452726a2d2c4c03263181743dd0509d77c /src
parentabb56b185b04369593adf4e294bcb5de21e1d51f (diff)
downloadpackages_apps_settings-945e383833c77101eb415b28bad4d1c6dfe85485.zip
packages_apps_settings-945e383833c77101eb415b28bad4d1c6dfe85485.tar.gz
packages_apps_settings-945e383833c77101eb415b28bad4d1c6dfe85485.tar.bz2
Set progress bar to 0 when done so that will not come back as full
Change-Id: I766e852d029168433a0d47c93dc3110a053f712c
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/TrustedCredentialsSettings.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/settings/TrustedCredentialsSettings.java b/src/com/android/settings/TrustedCredentialsSettings.java
index 55a0010..687663a 100644
--- a/src/com/android/settings/TrustedCredentialsSettings.java
+++ b/src/com/android/settings/TrustedCredentialsSettings.java
@@ -251,8 +251,9 @@ public class TrustedCredentialsSettings extends Fragment {
mCertHolders.addAll(certHolders);
notifyDataSetChanged();
View content = mTabHost.getTabContentView();
- content.findViewById(mTab.mProgress).setVisibility(View.GONE);
- content.findViewById(mTab.mList).setVisibility(View.VISIBLE);
+ mProgressBar.setVisibility(View.GONE);
+ mList.setVisibility(View.VISIBLE);
+ mProgressBar.setProgress(0);
}
}
}