Fix ClassCastException.
This commit is contained in:
parent
f0991e2464
commit
66175e3ce8
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,9 @@ public class PerformLiveUpdateAsyncTask
|
|||
}
|
||||
}
|
||||
} else {
|
||||
((DownloadIndexesThread.DownloadEvents) context).downloadHasFinished();
|
||||
if (context instanceof DownloadIndexesThread.DownloadEvents) {
|
||||
((DownloadIndexesThread.DownloadEvents) context).downloadInProgress();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue