summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-09-14 15:26:39 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-14 15:26:39 +0000
commit88a6301eb3062ee2183b9bcdfd3939fefb832fc1 (patch)
tree5d341110e753066535753ec09e2a98a61603bfd5
parent97205636bb842b31a093afc1d75dd46bb7f058a5 (diff)
parenta20490cd9ee80d0dc8eb035d50853b48592cac5b (diff)
downloadandroid_packages_apps_Trebuchet-88a6301eb3062ee2183b9bcdfd3939fefb832fc1.tar.gz
android_packages_apps_Trebuchet-88a6301eb3062ee2183b9bcdfd3939fefb832fc1.tar.bz2
android_packages_apps_Trebuchet-88a6301eb3062ee2183b9bcdfd3939fefb832fc1.zip
am a20490cd: Merge "Disabling debug logs" into ub-now-porkchop
* commit 'a20490cd9ee80d0dc8eb035d50853b48592cac5b': Disabling debug logs
-rw-r--r--src/com/android/launcher3/IconCache.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/IconCache.java b/src/com/android/launcher3/IconCache.java
index 75be83638..ddc1bd949 100644
--- a/src/com/android/launcher3/IconCache.java
+++ b/src/com/android/launcher3/IconCache.java
@@ -62,7 +62,7 @@ public class IconCache {
// Empty class name is used for storing package default entry.
private static final String EMPTY_CLASS_NAME = ".";
- private static final boolean DEBUG = true;
+ private static final boolean DEBUG = false;
private static class CacheEntry {
public Bitmap icon;
@@ -511,7 +511,7 @@ public class IconCache {
Log.w(TAG, "failed to decode pre-load icon for " + key);
}
} catch (FileNotFoundException e) {
- if (DEBUG) Log.d(TAG, "there is no restored icon for: " + key, e);
+ if (DEBUG) Log.d(TAG, "there is no restored icon for: " + key);
} catch (IOException e) {
Log.w(TAG, "failed to read pre-load icon for: " + key, e);
} finally {