Might be better to show that dialog before the thread starts - possible FC on gingerbread
This commit is contained in:
parent
df6a37a705
commit
0881142023
@ -414,6 +414,7 @@ public class AppDetails extends ListActivity {
|
|||||||
pd = new ProgressDialog(this);
|
pd = new ProgressDialog(this);
|
||||||
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
|
pd.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
|
||||||
pd.setMessage(getString(R.string.download_server));
|
pd.setMessage(getString(R.string.download_server));
|
||||||
|
pd.show();
|
||||||
|
|
||||||
new Thread() {
|
new Thread() {
|
||||||
public void run() {
|
public void run() {
|
||||||
@ -527,8 +528,6 @@ public class AppDetails extends ListActivity {
|
|||||||
}
|
}
|
||||||
}.start();
|
}.start();
|
||||||
|
|
||||||
pd.show();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handler used to update the progress dialog while downloading. The
|
// Handler used to update the progress dialog while downloading. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user