Merge branch 'main' of https://github.com/MM2-0/Kvaesitso
# Conflicts: # app/ui/src/main/java/de/mm20/launcher2/ui/launcher/search/SearchVM.kt # services/widgets/src/main/java/de/mm20/launcher2/services/widgets/WidgetsService.kt ...
This commit is contained in:
@@ -33,6 +33,7 @@ class WidgetsService(
|
||||
for (profile in profiles) {
|
||||
widgets.addAll(appWidgetManager.getInstalledProvidersForProfile(profile))
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
// Ignore widgets that the launcher is not supposed to access
|
||||
widgets.filter {
|
||||
@@ -41,7 +42,6 @@ class WidgetsService(
|
||||
} else {
|
||||
widgets
|
||||
}
|
||||
widgets
|
||||
}
|
||||
|
||||
fun getAvailableBuiltInWidgets(): Flow<List<BuiltInWidgetInfo>> {
|
||||
|
||||
Reference in New Issue
Block a user