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

Commit 0eaea545 authored by Sihua Ma's avatar Sihua Ma Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException in widget service when checking legacy list widgets" into main

parents e2e25006 2d76d7cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2292,7 +2292,7 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
        args.arg4 = requestId;
        args.argi1 = widget.appWidgetId;

        if (updateViews.isLegacyListRemoteViews()) {
        if (updateViews != null && updateViews.isLegacyListRemoteViews()) {
            mCallbackHandler.obtainMessage(
                    CallbackHandler.MSG_NOTIFY_UPDATE_APP_WIDGET_DEFERRED,
                    args).sendToTarget();