Set progress bar to 0 when done so that will not come back as full

Change-Id: I766e852d029168433a0d47c93dc3110a053f712c
This commit is contained in:
Brian Carlstrom
2011-07-06 15:13:03 -07:00
parent abb56b185b
commit 945e383833

View File

@@ -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);
}
}
}