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

Commit 9e60bbec authored by Steven Ng's avatar Steven Ng Committed by Automerger Merge Worker
Browse files

Merge "Print the full exception upon widgets inflation error" into sc-dev am: 19b0627a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14456996

Change-Id: I3f1e9bf5a8a5c9141e7a3c1e854c84af18ab4c45
parents b7c450cf 19b0627a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {