summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Util.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2009-04-24 14:16:43 +0800
committerChih-Chung Chang <chihchung@google.com>2009-04-24 14:20:38 +0800
commitfa021af9397011cf180003139e80a88902c4b70a (patch)
tree6d6172d5a1c850ece36817224a7e1710335a30af /src/com/android/camera/Util.java
parent819fa006a0094f1bd926bbe5a7d4995f15d87ec3 (diff)
downloadLegacyCamera-fa021af9397011cf180003139e80a88902c4b70a.zip
LegacyCamera-fa021af9397011cf180003139e80a88902c4b70a.tar.gz
LegacyCamera-fa021af9397011cf180003139e80a88902c4b70a.tar.bz2
Fix bitmap decoding in CropImage.
Call allow decoding function so it can decode bitmaps. Add log in BitmapManager so we can fix callers which forget to call it.
Diffstat (limited to 'src/com/android/camera/Util.java')
-rw-r--r--src/com/android/camera/Util.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/camera/Util.java b/src/com/android/camera/Util.java
index 5f5c624..2b7e756 100644
--- a/src/com/android/camera/Util.java
+++ b/src/com/android/camera/Util.java
@@ -355,4 +355,9 @@ public class Util {
return null;
}
}
+
+ public static void debugWhere(String tag, String msg) {
+ Exception ex = new Exception();
+ Log.d(tag, msg, ex);
+ }
}