summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2011-09-06 14:45:28 +0800
committerHung-ying Tyan <tyanh@google.com>2011-09-06 15:38:39 +0800
commit14eb965bde9b8d40b9f503f7a87247b9336b68df (patch)
tree3ca6b2963efabf8fda16963e2b993ffa268eca85 /gallerycommon/src/com/android/gallery3d
parent7fb09a025b25d0dce0f95ec083b53b7a04f8954a (diff)
downloadandroid_packages_apps_Snap-14eb965bde9b8d40b9f503f7a87247b9336b68df.tar.gz
android_packages_apps_Snap-14eb965bde9b8d40b9f503f7a87247b9336b68df.tar.bz2
android_packages_apps_Snap-14eb965bde9b8d40b9f503f7a87247b9336b68df.zip
Suppress log from Utils.parseXXXSafely().
Callers already expect non-number strings with these calls. No need to print out the stack trace. Change-Id: I27226ca50e4e7e906939505ad5d53906e8999e95
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/Utils.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/Utils.java b/gallerycommon/src/com/android/gallery3d/common/Utils.java
index efe2be213..78449ae6b 100644
--- a/gallerycommon/src/com/android/gallery3d/common/Utils.java
+++ b/gallerycommon/src/com/android/gallery3d/common/Utils.java
@@ -268,7 +268,6 @@ public class Utils {
try {
return Float.parseFloat(content);
} catch (NumberFormatException e) {
- Log.w(TAG, "invalid float: " + content, e);
return defaultValue;
}
}
@@ -278,7 +277,6 @@ public class Utils {
try {
return Integer.parseInt(content);
} catch (NumberFormatException e) {
- Log.w(TAG, "invalid int: " + content, e);
return defaultValue;
}
}