DownloadRequest req = new DownloadRequest(imgUrl, RequestMethod.GET,
AfCache.getInstance().get(AfCacheTag.SNAP_IMAGE_PATH),
fileString, false, true);
downloadCache.append(wId, faceId);
try {
SyncDownloadExecutor.INSTANCE.execute(wId, req, this);
} catch (Exception ex) {
ex.printStackTrace();
}
` int wId = getWhatId();
`
java.lang.ClassCastException: libcore.net.url.FtpURLConnection cannot be cast to java.net.HttpURLConnection