mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +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
|
@Override
|
||||||
protected void onPostExecute() {
|
protected void onPostExecute() {
|
||||||
viewGo.setClickable(true);
|
viewGo.setClickable(true);
|
||||||
progressDialog.dismiss();
|
if (!isDestroyed())
|
||||||
|
progressDialog.dismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue