summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ImageGallery.java
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2009-05-13 16:21:52 +0800
committerChih-Chung Chang <chihchung@google.com>2009-05-14 18:37:07 +0800
commit896182a590fc1bbed5dfb78a74e9a71b30d8f9aa (patch)
tree86d4577a6b30aa16200d8558930d57444c69e482 /src/com/android/camera/ImageGallery.java
parente43adb123b34432b977f57943c3c42614ccfd985 (diff)
downloadLegacyCamera-896182a590fc1bbed5dfb78a74e9a71b30d8f9aa.zip
LegacyCamera-896182a590fc1bbed5dfb78a74e9a71b30d8f9aa.tar.gz
LegacyCamera-896182a590fc1bbed5dfb78a74e9a71b30d8f9aa.tar.bz2
remove cancelAllDecodingThreads and allowAllDecodingThreads.
Diffstat (limited to 'src/com/android/camera/ImageGallery.java')
-rw-r--r--src/com/android/camera/ImageGallery.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/camera/ImageGallery.java b/src/com/android/camera/ImageGallery.java
index a8db347..9447981 100644
--- a/src/com/android/camera/ImageGallery.java
+++ b/src/com/android/camera/ImageGallery.java
@@ -337,8 +337,8 @@ public class ImageGallery extends Activity implements
super.onPause();
mPausing = true;
- BitmapManager.instance().cancelAllDecoding();
- stopCheckingThumbnails();
+ mLoader.stop();
+
mGvs.stop();
if (mReceiver != null) {
@@ -399,8 +399,6 @@ public class ImageGallery extends Activity implements
public void onResume() {
super.onResume();
- BitmapManager.instance().allowAllDecoding();
-
mGvs.setSizeChoice(Integer.parseInt(
mPrefs.getString("pref_gallery_size_key", "1")));
mGvs.requestFocus();