summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ImageGallery.java
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-07-01 17:03:33 -0700
committerOwen Lin <owenlin@google.com>2009-07-06 13:36:49 -0700
commit52aae7063493140ef91e1067c5100d9b52a48287 (patch)
tree5c79b294349bc75bd826a436fe78423bbc072b93 /src/com/android/camera/ImageGallery.java
parent91acfc99279d5ece7ac9cb2d7a2980eb0d3b50da (diff)
downloadLegacyCamera-52aae7063493140ef91e1067c5100d9b52a48287.zip
LegacyCamera-52aae7063493140ef91e1067c5100d9b52a48287.tar.gz
LegacyCamera-52aae7063493140ef91e1067c5100d9b52a48287.tar.bz2
Fix some warning shown in Eclipse.
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;
}