diff options
author | Michael Jurka <mikejurka@google.com> | 2011-07-12 17:02:45 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-07-12 17:02:45 -0700 |
commit | b6052a9a0c7b57f0f4bd6c2b0c9b3280f0b1ed5b (patch) | |
tree | 4154748253f0341dc0ed85eea4ac8c6af640f573 | |
parent | 288a36b563801a26d00084cb823435a3ba4cb76c (diff) | |
download | packages_apps_trebuchet-b6052a9a0c7b57f0f4bd6c2b0c9b3280f0b1ed5b.zip packages_apps_trebuchet-b6052a9a0c7b57f0f4bd6c2b0c9b3280f0b1ed5b.tar.gz packages_apps_trebuchet-b6052a9a0c7b57f0f4bd6c2b0c9b3280f0b1ed5b.tar.bz2 |
Logging failure to load market/search/etc icons
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 4e69ee8..885d360 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -2706,7 +2706,9 @@ public final class Launcher extends Activity } } } catch (NameNotFoundException e) { - // Do nothing + // This can happen if the activity defines an invalid drawable + Log.w(TAG, "Failed to load toolbar icon; " + activityName.flattenToShortString() + + " not found", e); } catch (Resources.NotFoundException nfe) { // This can happen if the activity defines an invalid drawable Log.w(TAG, "Failed to load toolbar icon from " + activityName.flattenToShortString(), |