Removing Smartspace as a widget flag
Bug: 300140279 Flag: EXEMPT removing dead code Test: Presubmit Change-Id: If24db0b4c2c119f5cbe1153e3d77599d12ff80a6
This commit is contained in:
1 parent
3b9b36255b
commit
7a332e02aa
21 files changed
+23
-181
No files matched your search
@@ -16,9 +16,7 @@
|
||||
|
||||
package com.android.launcher3;
|
||||
|
||||
import static com.android.launcher3.BuildConfig.WIDGET_ON_FIRST_SCREEN;
|
||||
import static com.android.launcher3.Flags.enableMouseInteractionChanges;
|
||||
import static com.android.launcher3.Flags.enableSmartspaceAsAWidget;
|
||||
import static com.android.launcher3.graphics.ShapeDelegate.DEFAULT_PATH_SIZE;
|
||||
import static com.android.launcher3.icons.BitmapInfo.FLAG_THEMED;
|
||||
import static com.android.launcher3.util.SplitConfigurationOptions.STAGE_POSITION_BOTTOM_OR_RIGHT;
|
||||
@@ -147,9 +145,6 @@ public final class Utilities {
|
||||
public static final int TRANSLATE_LEFT = 2;
|
||||
public static final int TRANSLATE_RIGHT = 3;
|
||||
|
||||
public static final boolean SHOULD_SHOW_FIRST_PAGE_WIDGET =
|
||||
enableSmartspaceAsAWidget() && WIDGET_ON_FIRST_SCREEN;
|
||||
|
||||
@IntDef({TRANSLATE_UP, TRANSLATE_DOWN, TRANSLATE_LEFT, TRANSLATE_RIGHT})
|
||||
public @interface AdjustmentDirection{}
|
||||
|
||||
|
||||
Reference in new issue
Block a user