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

Commit fe6e733a authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 20960 into donut

* changes:
  Fix issue #2049588: App widget can crash causing system to be unable to boot
parents 4cc16a7b 002716d4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1009,8 +1009,7 @@ class AppWidgetService extends IAppWidgetService.Stub
        if (success) {
            // delete any hosts that didn't manage to get connected (should happen)
            // if it matters, they'll be reconnected.
            final int N = mHosts.size();
            for (int i=0; i<N; i++) {
            for (int i=mHosts.size()-1; i>=0; i--) {
                pruneHostLocked(mHosts.get(i));
            }
        } else {