Skip to content
Snippets Groups Projects
Commit 19b0627a authored by Steven Ng's avatar Steven Ng Committed by Android (Google) Code Review
Browse files

Merge "Print the full exception upon widgets inflation error" into sc-dev

parents 0e768c90 c7e22233
No related branches found
No related tags found
No related merge requests found
......@@ -588,7 +588,7 @@ public class AppWidgetHostView extends FrameLayout {
return ;
}
if (exception != null) {
Log.w(TAG, "Error inflating RemoteViews : " + exception.toString());
Log.w(TAG, "Error inflating RemoteViews", exception);
}
content = getErrorView();
mViewMode = VIEW_MODE_ERROR;
......@@ -786,7 +786,7 @@ public class AppWidgetHostView extends FrameLayout {
}
if (exception != null) {
Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString());
Log.w(TAG, "Error inflating AppWidget " + mInfo, exception);
}
if (defaultView == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment