Might be better to show that dialog before the thread starts - possible FC on gingerbread

This commit is contained in:
Ciaran Gultnieks 2011-01-13 22:55:03 +00:00
parent df6a37a705
commit 0881142023

View File

@ -414,6 +414,7 @@ public class AppDetails extends ListActivity {
pd = new ProgressDialog(this);
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
pd.setMessage(getString(R.string.download_server));
pd.show();
new Thread() {
public void run() {
@ -527,8 +528,6 @@ public class AppDetails extends ListActivity {
}
}.start();
pd.show();
}
// Handler used to update the progress dialog while downloading. The