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

Commit b3f11483 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "AppWidgetServiceImpl:fix NPE in pruneWidgetStateLocked mthod ." into main am: cd53cb57

parents e82d257d cd53cb57
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5084,7 +5084,9 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
                        // so we tear it down in anticipation of it (possibly) being
                        // reconstructed due to the restore
                        host.widgets.remove(widget);
                        if (provider != null) {
                            provider.widgets.remove(widget);
                        }
                        // Check if we need to destroy any services (if no other app widgets are
                        // referencing the same service)
                        decrementAppWidgetServiceRefCount(widget);