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

Commit 467a2b7c authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Don't crash when handling unlinked widget bindings"

parents 5579eb9b 95ead2c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ class AppWidgetServiceImpl {
            final int N = instances.size();
            for (int i = 0; i < N; i++) {
                Provider p = instances.get(i).provider;
                if (p.info != null && pkg.equals(p.info.provider.getPackageName())) {
                if (p != null && p.info != null && pkg.equals(p.info.provider.getPackageName())) {
                    return true;
                }
            }