From ce9458409699a303879115905ac9e5363af0381e Mon Sep 17 00:00:00 2001 From: Steve Howard Date: Thu, 1 Jul 2010 17:54:16 -0700 Subject: 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 /", 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 --- .../SystemUI/src/com/android/systemui/statusbar/StatusBarService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1