Commit f3d27a43 authored by Suphon Thanakornpakapong's avatar Suphon Thanakornpakapong
Browse files

Add null check in duplicate widgets check

parent 15dc8a71
Pipeline #185936 passed with stage
in 4 minutes and 10 seconds
......@@ -423,6 +423,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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment