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

Commit 95066151 authored by William Leshner's avatar William Leshner Committed by Android (Google) Code Review
Browse files

Merge "Remove flag guarding widget picker size filter." into main

parents c2bff74d 93fd5400
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -8,12 +8,3 @@ flag {
    bug: "304584416"
}
flag {
    name: "enable_widget_picker_size_filter"
    namespace: "communal"
    description: "Enables passing a size filter to the widget picker"
    bug: "345482907"
   metadata {
        purpose: PURPOSE_BUGFIX
   }
}
+8 −11
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ import android.content.res.Resources
import android.util.Log
import androidx.activity.result.ActivityResultLauncher
import com.android.internal.logging.UiEventLogger
import com.android.systemui.Flags.enableWidgetPickerSizeFilter
import com.android.systemui.communal.data.model.CommunalWidgetCategories
import com.android.systemui.communal.domain.interactor.CommunalInteractor
import com.android.systemui.communal.domain.interactor.CommunalPrefsInteractor
@@ -176,7 +175,6 @@ constructor(

        return Intent(Intent.ACTION_PICK).apply {
            setPackage(packageName)
            if (enableWidgetPickerSizeFilter()) {
            putExtra(
                EXTRA_DESIRED_WIDGET_WIDTH,
                resources.getDimensionPixelSize(R.dimen.communal_widget_picker_desired_width)
@@ -185,7 +183,6 @@ constructor(
                EXTRA_DESIRED_WIDGET_HEIGHT,
                resources.getDimensionPixelSize(R.dimen.communal_widget_picker_desired_height)
            )
            }
            putExtra(
                AppWidgetManager.EXTRA_CATEGORY_FILTER,
                CommunalWidgetCategories.defaultCategories