diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-04-17 23:18:09 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-04-17 23:18:09 +0800 |
commit | a6e21440a229e270fdc1ad5e1c02cb10970e5442 (patch) | |
tree | 8925bf8bffb16bdc857322c90cc0b4075fef3438 /src/com/android/camera/GalleryPicker.java | |
parent | 1153ba1f81e76ac8419c1e84317f56d76cf6be83 (diff) | |
download | LegacyCamera-a6e21440a229e270fdc1ad5e1c02cb10970e5442.zip LegacyCamera-a6e21440a229e270fdc1ad5e1c02cb10970e5442.tar.gz LegacyCamera-a6e21440a229e270fdc1ad5e1c02cb10970e5442.tar.bz2 |
Code clean up.
Diffstat (limited to 'src/com/android/camera/GalleryPicker.java')
-rw-r--r-- | src/com/android/camera/GalleryPicker.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/camera/GalleryPicker.java b/src/com/android/camera/GalleryPicker.java index 8d3087d..8093f83 100644 --- a/src/com/android/camera/GalleryPicker.java +++ b/src/com/android/camera/GalleryPicker.java @@ -373,7 +373,6 @@ public class GalleryPicker extends Activity { IImageList images; if (assumeMounted) { images = ImageManager.allImages( - GalleryPicker.this, getContentResolver(), ImageManager.DataLocation.ALL, ImageManager.INCLUDE_IMAGES @@ -618,7 +617,8 @@ public class GalleryPicker extends Activity { mGridView.setAdapter(mAdapter); setBackgrounds(getResources()); - boolean scanning = ImageManager.isMediaScannerScanning(this); + boolean scanning = ImageManager.isMediaScannerScanning( + getContentResolver()); rebake(false, scanning); // install an intent filter to receive SD card related events. @@ -797,7 +797,6 @@ public class GalleryPicker extends Activity { private IImageList createImageList(int mediaTypes, String bucketId) { return ImageManager.allImages( - this, getContentResolver(), ImageManager.DataLocation.ALL, mediaTypes, |