Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7e22233 authored by Steven Ng's avatar Steven Ng
Browse files

Print the full exception upon widgets inflation error

Test: none
Bug: 184750539
Change-Id: If026cc09dc9f96f1443b7b6e73e0e4f219050183
parent 56d59c65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -557,7 +557,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;
@@ -743,7 +743,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) {