Merge "Print the full exception upon widgets inflation error" into sc-dev
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user