Disabling debug logs

issue: 17327468
Change-Id: If0cd46e1309f58eed52e773ef15e3259df10c905
This commit is contained in:
Sunny Goyal 2014-09-09 16:27:55 -07:00
parent 8e894faadf
commit bbef77dbdf
1 changed files with 2 additions and 2 deletions

View File

@ -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 {