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

Commit cd53cb57 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 10a72d17 bfcca8bc
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);