Hotfix to IllegalState exception in dashDownloadMapsFragment
This commit is contained in:
parent
6b7474601b
commit
018cf397b8
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ public class DashDownloadMapsFragment extends DashBaseFragment {
|
|||
}
|
||||
|
||||
protected void updateCount(String s) {
|
||||
if (DashDownloadMapsFragment.this.isDetached()){
|
||||
if (!DashDownloadMapsFragment.this.isAdded()){
|
||||
return;
|
||||
}
|
||||
File ms = getMyApplication().getAppPath(s);
|
||||
|
@ -104,7 +104,7 @@ public class DashDownloadMapsFragment extends DashBaseFragment {
|
|||
@Override
|
||||
protected void onPostExecute(Void result) {
|
||||
super.onPostExecute(result);
|
||||
if (DashDownloadMapsFragment.this.isDetached()){
|
||||
if (!DashDownloadMapsFragment.this.isAdded()){
|
||||
return;
|
||||
}
|
||||
if(countMaps > 0) {
|
||||
|
|
Loading…
Reference in a new issue