mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-06 17:38:48 +00:00
DirectionsActivity: Work around IllegalArgumentException when rotating device while progress is shown.
This commit is contained in:
parent
4590b4f29c
commit
c156212dfd
1 changed files with 2 additions and 1 deletions
|
@ -996,7 +996,8 @@ public class DirectionsActivity extends OeffiMainActivity implements ActivityCom
|
|||
@Override
|
||||
protected void onPostExecute() {
|
||||
viewGo.setClickable(true);
|
||||
progressDialog.dismiss();
|
||||
if (!isDestroyed())
|
||||
progressDialog.dismiss();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue