Prevents cancellation of update by touching outside progress dialog
This commit is contained in:
parent
18b40b25b3
commit
37afec1f87
@ -503,6 +503,7 @@ public class FDroid extends TabActivity implements OnItemClickListener,
|
|||||||
pd = ProgressDialog.show(this, getString(R.string.process_wait_title),
|
pd = ProgressDialog.show(this, getString(R.string.process_wait_title),
|
||||||
getString(R.string.process_update_msg), true, true);
|
getString(R.string.process_update_msg), true, true);
|
||||||
pd.setIcon(android.R.drawable.ic_dialog_info);
|
pd.setIcon(android.R.drawable.ic_dialog_info);
|
||||||
|
pd.setCanceledOnTouchOutside(false);
|
||||||
|
|
||||||
Intent intent = new Intent(this, UpdateService.class);
|
Intent intent = new Intent(this, UpdateService.class);
|
||||||
mUpdateReceiver = new UpdateReceiver(new Handler());
|
mUpdateReceiver = new UpdateReceiver(new Handler());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user