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

Commit 75e3e478 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '5381-fix_startup_crash' into 'master'

Add null check in duplicate widgets check

See merge request !93
parents 99f8bb10 f3d27a43
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -424,6 +424,7 @@ public class LauncherActivity extends AppCompatActivity implements
        Set<ComponentName> existingProviders = new HashSet<>();
        for (int widgetId : widgetIds) {
            AppWidgetProviderInfo info = mAppWidgetManager.getAppWidgetInfo(widgetId);
            if (info == null) continue;
            existingProviders.add(info.provider);
        }