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

Commit e7037b6c authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am fe6e733a: Merge change 20960 into donut

Merge commit 'fe6e733a'

* commit 'fe6e733a':
  Fix issue #2049588: App widget can crash causing system to be unable to boot
parents 71a08c1d fe6e733a
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 {