Fix ClassCastException.

This commit is contained in:
GaidamakUA 2016-01-21 10:27:42 +02:00
parent f0991e2464
commit 66175e3ce8

View file

@ -120,7 +120,9 @@ public class PerformLiveUpdateAsyncTask
}
}
} else {
((DownloadIndexesThread.DownloadEvents) context).downloadHasFinished();
if (context instanceof DownloadIndexesThread.DownloadEvents) {
((DownloadIndexesThread.DownloadEvents) context).downloadInProgress();
}
}
}
}