summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/BitmapManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/BitmapManager.java')
-rw-r--r--src/com/android/camera/BitmapManager.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/com/android/camera/BitmapManager.java b/src/com/android/camera/BitmapManager.java
index dbbad17..eb05d3e 100644
--- a/src/com/android/camera/BitmapManager.java
+++ b/src/com/android/camera/BitmapManager.java
@@ -105,11 +105,6 @@ public class BitmapManager {
getOrCreateThreadStatus(t).mOptions = options;
}
- synchronized BitmapFactory.Options getDecodingOptions(Thread t) {
- ThreadStatus status = mThreadStatus.get(t);
- return status != null ? status.mOptions : null;
- }
-
synchronized void removeDecodingOptions(Thread t) {
ThreadStatus status = mThreadStatus.get(t);
status.mOptions = null;
@@ -161,21 +156,6 @@ public class BitmapManager {
notifyAll();
}
- /**
- * A debugging routine.
- */
- public synchronized void dump() {
- Iterator<Map.Entry<Thread, ThreadStatus>> i =
- mThreadStatus.entrySet().iterator();
-
- while (i.hasNext()) {
- Map.Entry<Thread, ThreadStatus> entry = i.next();
- Log.v(TAG, "[Dump] Thread " + entry.getKey() + " ("
- + entry.getKey().getId()
- + ")'s status is " + entry.getValue());
- }
- }
-
public static synchronized BitmapManager instance() {
if (sManager == null) {
sManager = new BitmapManager();