summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-07-01 17:54:16 -0700
committerSteve Howard <showard@google.com>2010-07-01 17:54:16 -0700
commitce9458409699a303879115905ac9e5363af0381e (patch)
treeb8594a1b9ba0aba2578d080259ae8caa93ee45b4 /packages
parent54a181b1a2b1517a9479b21fbf7705a688232faf (diff)
downloadframeworks_base-ce9458409699a303879115905ac9e5363af0381e.zip
frameworks_base-ce9458409699a303879115905ac9e5363af0381e.tar.gz
frameworks_base-ce9458409699a303879115905ac9e5363af0381e.tar.bz2
Log full exception when failing to inflate notification view
When inflating a notification's view fails, include the exception in the log message. Without this exception all we get is "couldn't inflate view for notification <package>/<id>", which isn't very helpful for tracking down the particular error in the view. This exception used to be included in the log message, but it was removed in 005847b03b2 -- any particular reason why? Change-Id: I623b9e4c8291e4c035f26380e5f22ad6b65176a7
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
index 4ddd45c..07bcce7 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
@@ -584,7 +584,7 @@ public class StatusBarService extends Service implements CommandQueue.Callbacks
}
if (expanded == null) {
String ident = notification.pkg + "/0x" + Integer.toHexString(notification.id);
- Slog.e(TAG, "couldn't inflate view for notification " + ident);
+ Slog.e(TAG, "couldn't inflate view for notification " + ident, exception);
return null;
} else {
content.addView(expanded);