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

Commit 521e3748 authored by Federico Baron's avatar Federico Baron Committed by Android (Google) Code Review
Browse files

Merge "Fix wrong widget appearing in widget picker for tablet" into tm-qpr-dev

parents 673e6437 ecb05325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ public class PopupDataProvider implements NotificationListener.NotificationsChan
    public WidgetsListContentEntry getSelectedAppWidgets(PackageUserKey packageUserKey) {
        return (WidgetsListContentEntry) mAllWidgets.stream()
                .filter(row -> row instanceof WidgetsListContentEntry
                        && row.mPkgItem.packageName.equals(packageUserKey.mPackageName))
                        && PackageUserKey.fromPackageItemInfo(row.mPkgItem).equals(packageUserKey))
                .findAny()
                .orElse(null);
    }