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

Commit ca5e3415 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix bug with getting widget categories

Change-Id: I3b0f410707d37436732c45b572c2f588427a784f
parent 8a788cbf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1358,10 +1358,10 @@ class AppWidgetServiceImpl {
                    com.android.internal.R.styleable.AppWidgetProviderInfo_resizeMode,
                    AppWidgetProviderInfo.RESIZE_NONE);
            info.widgetCategory = sa.getInt(
                    com.android.internal.R.styleable.AppWidgetProviderInfo_resizeMode,
                    com.android.internal.R.styleable.AppWidgetProviderInfo_widgetCategory,
                    AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN);
            info.widgetFeatures = sa.getInt(
                    com.android.internal.R.styleable.AppWidgetProviderInfo_resizeMode,
                    com.android.internal.R.styleable.AppWidgetProviderInfo_widgetFeatures,
                    AppWidgetProviderInfo.WIDGET_FEATURES_NONE);

            sa.recycle();