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

Commit 23951e63 authored by Pinyao Ting's avatar Pinyao Ting Committed by Android (Google) Code Review
Browse files

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

parents 9f3a5c8f bb05e5fe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5731,7 +5731,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);