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

Commit eb471857 authored by Sihua Ma's avatar Sihua Ma
Browse files

Fix NullPointerException in getItemsFutureFromIntentWithTimeout

Bug: 339615887
Test: android.appwidget.cts.CollectionAppWidgetTest
Change-Id: I949c348d0d708d720636f3297b870db62aac28f6
parent d24a0c2c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1424,6 +1424,10 @@ public class RemoteViews implements Parcelable, Filter {
                                context.unbindService(this);
                            }

                            if (items == null) {
                                items = new RemoteCollectionItems.Builder().build();
                            }

                            result.complete(items);
                        }