From 85cb1b65c2ee8c339ba638bd9de1ae166746a852 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 7 Jan 2020 20:32:00 -0800 Subject: [PATCH] Fixing widgets enabled ag/9375162 Change-Id: I2e7e731dacf3c617fc2abe4c5289519856d0c2a3 --- go/src/com/android/launcher3/model/WidgetsModel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go/src/com/android/launcher3/model/WidgetsModel.java b/go/src/com/android/launcher3/model/WidgetsModel.java index 7b8f4e6c33..7269b417e4 100644 --- a/go/src/com/android/launcher3/model/WidgetsModel.java +++ b/go/src/com/android/launcher3/model/WidgetsModel.java @@ -19,8 +19,10 @@ package com.android.launcher3.model; import android.content.Context; import android.os.UserHandle; -import com.android.launcher3.icons.ComponentWithLabel; +import androidx.annotation.Nullable; + import com.android.launcher3.LauncherAppState; +import com.android.launcher3.icons.ComponentWithLabel; import com.android.launcher3.util.PackageUserKey; import com.android.launcher3.widget.WidgetListRowEntry; @@ -29,8 +31,6 @@ import java.util.Collections; import java.util.List; import java.util.Set; -import androidx.annotation.Nullable; - /** * Widgets data model that is used by the adapters of the widget views and controllers. * @@ -39,7 +39,7 @@ import androidx.annotation.Nullable; public class WidgetsModel { // True is the widget support is disabled. - public static final boolean GO_DISABLE_WIDGETS = false; + public static final boolean GO_DISABLE_WIDGETS = true; private static final ArrayList EMPTY_WIDGET_LIST = new ArrayList<>();