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/ViewImage.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/ViewImage.java')
-rw-r--r-- | src/com/android/camera/ViewImage.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/ViewImage.java b/src/com/android/camera/ViewImage.java index 31bd829..0139be6 100644 --- a/src/com/android/camera/ViewImage.java +++ b/src/com/android/camera/ViewImage.java @@ -855,7 +855,8 @@ public class ViewImage extends Activity implements View.OnClickListener { int sort = mSortAscending ? ImageManager.SORT_ASCENDING : ImageManager.SORT_DESCENDING; - mAllImages = ImageManager.makeImageList(uri, this, sort); + mAllImages = ImageManager.makeImageList(uri, getContentResolver(), + sort); uri = uri.buildUpon().query(null).build(); // TODO smarter/faster here please |