Loading bliss/src/foundation/e/bliss/widgets/WidgetContainer.kt +2 −2 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ class WidgetContainer(context: Context, attrs: AttributeSet?) : FrameLayout(cont opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, height) } val blacklistedComponents = context.resources.getStringArray(R.array.blacklisted_widget_options) mLauncher.resources.getStringArray(R.array.blacklisted_widget_options) if (!blacklistedComponents.contains(info.provider.className)) { widgetManager.updateAppWidgetOptions(it.appWidgetId, opts) } Loading Loading @@ -450,7 +450,7 @@ class WidgetContainer(context: Context, attrs: AttributeSet?) : FrameLayout(cont } val blacklistedComponents = context.resources.getStringArray(R.array.blacklisted_widget_options) launcher.resources.getStringArray(R.array.blacklisted_widget_options) if (!blacklistedComponents.contains(info.provider.className)) { mWidgetManager.updateAppWidgetOptions(it.appWidgetId, opts) } Loading Loading
bliss/src/foundation/e/bliss/widgets/WidgetContainer.kt +2 −2 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ class WidgetContainer(context: Context, attrs: AttributeSet?) : FrameLayout(cont opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, height) } val blacklistedComponents = context.resources.getStringArray(R.array.blacklisted_widget_options) mLauncher.resources.getStringArray(R.array.blacklisted_widget_options) if (!blacklistedComponents.contains(info.provider.className)) { widgetManager.updateAppWidgetOptions(it.appWidgetId, opts) } Loading Loading @@ -450,7 +450,7 @@ class WidgetContainer(context: Context, attrs: AttributeSet?) : FrameLayout(cont } val blacklistedComponents = context.resources.getStringArray(R.array.blacklisted_widget_options) launcher.resources.getStringArray(R.array.blacklisted_widget_options) if (!blacklistedComponents.contains(info.provider.className)) { mWidgetManager.updateAppWidgetOptions(it.appWidgetId, opts) } Loading