From a30ce8e6b25e41f392a41fd4d0d3e0a424a84dad Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 11 Nov 2009 08:16:49 -0800 Subject: Bug 2231692 - Turn off launcher2 logging. --- src/com/android/launcher2/WallpaperChooser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/com/android/launcher2/WallpaperChooser.java') diff --git a/src/com/android/launcher2/WallpaperChooser.java b/src/com/android/launcher2/WallpaperChooser.java index a74fa6a56..8045059e7 100644 --- a/src/com/android/launcher2/WallpaperChooser.java +++ b/src/com/android/launcher2/WallpaperChooser.java @@ -40,6 +40,7 @@ import java.util.ArrayList; public class WallpaperChooser extends Activity implements AdapterView.OnItemSelectedListener, OnClickListener { + private static final String TAG = "Launcher.WallpaperChooser"; private Gallery mGallery; private ImageView mImageView; @@ -137,7 +138,7 @@ public class WallpaperChooser extends Activity implements AdapterView.OnItemSele setResult(RESULT_OK); finish(); } catch (IOException e) { - Log.e(Launcher.LOG_TAG, "Failed to set wallpaper: " + e); + Log.e(TAG, "Failed to set wallpaper: " + e); } } @@ -178,9 +179,8 @@ public class WallpaperChooser extends Activity implements AdapterView.OnItemSele if (thumbDrawable != null) { thumbDrawable.setDither(true); } else { - Log.e(Launcher.LOG_TAG, String.format( - "Error decoding thumbnail resId=%d for wallpaper #%d", - thumbRes, position)); + Log.e(TAG, "Error decoding thumbnail resId=" + thumbRes + " for wallpaper #" + + position); } return image; } -- cgit v1.2.3