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

Commit 999161f8 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: I7f57872ac4f8c27333b96dbd17e5fd35d517bb73
parents 430ef6ca 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) {