summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ImageGallery.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ImageGallery.java')
-rw-r--r--src/com/android/camera/ImageGallery.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/camera/ImageGallery.java b/src/com/android/camera/ImageGallery.java
index 6576d6e..4f23ecd 100644
--- a/src/com/android/camera/ImageGallery.java
+++ b/src/com/android/camera/ImageGallery.java
@@ -16,7 +16,6 @@
package com.android.camera;
-import com.android.camera.gallery.Cancelable;
import com.android.camera.gallery.IImage;
import com.android.camera.gallery.IImageList;
import com.android.camera.gallery.VideoObject;
@@ -94,8 +93,6 @@ public class ImageGallery extends Activity implements
private Uri mCropResultUri;
- private final PriorityTaskQueue mPriorityQueue = new PriorityTaskQueue(1);
-
// The index of the first picture in GridViewSpecial.
private int mSelectedIndex = GridViewSpecial.SELECT_NONE;
private float mScrollPosition = INVALID_POSITION;
@@ -984,13 +981,6 @@ public class ImageGallery extends Activity implements
MenuHelper.deleteMultiple(this, action);
}
- private <T> void postBackgroundTask(String message, Cancelable<T> task) {
- String title = getResources().getString(R.string.progress_dialog_title);
- PriorityTask<T> pTask = PriorityTask.wrap(task);
- Util.showProgressDialog(this, title, message, pTask);
- mPriorityQueue.add(pTask);
- }
-
private boolean isInMultiSelectMode() {
return mMultiSelected != null;
}