Remove unused function

This commit is contained in:
Cameron Gutman 2015-02-22 18:10:08 -05:00
parent bf795ab7a5
commit 0b7becb161

View File

@ -134,28 +134,6 @@ public class AppGridAdapter extends GenericGridAdapter<AppView.AppObject> {
itemList.remove(app); itemList.remove(app);
} }
public void abortPendingRequests() {
HashMap<ImageView, Future> tempMap;
synchronized (pendingIonRequests) {
// Copy the pending requests under a lock
tempMap = new HashMap<ImageView, Future>(pendingIonRequests);
}
for (Future f : tempMap.values()) {
if (!f.isCancelled() && !f.isDone()) {
f.cancel(true);
}
}
synchronized (pendingIonRequests) {
// Remove cancelled requests
for (ImageView v : tempMap.keySet()) {
pendingIonRequests.remove(v);
}
}
}
// TODO: Handle pruning of bitmap cache // TODO: Handle pruning of bitmap cache
private void populateBitmapCache(UUID uuid, int appId, Bitmap bitmap) { private void populateBitmapCache(UUID uuid, int appId, Bitmap bitmap) {
try { try {