Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
75e3e478
Commit
75e3e478
authored
May 16, 2022
by
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
Pipeline
#185962
passed with stage
in 9 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java
View file @
75e3e478
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment