diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 9a3a379697..327896013f 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -496,7 +496,7 @@ public class Workspace extends PagedView // In transposed layout, we add the QSB in the Grid. As workspace does not touch the // edges, we do not need a full width QSB. qsb = LayoutInflater.from(getContext()) - .inflate(R.layout.search_container_workspace,firstPage, false); + .inflate(R.layout.search_container_workspace, firstPage, false); } CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, firstPage.getCountX(), 1); diff --git a/src/com/android/launcher3/config/FeatureFlags.java b/src/com/android/launcher3/config/FeatureFlags.java index 75609fe68e..f10aca509e 100644 --- a/src/com/android/launcher3/config/FeatureFlags.java +++ b/src/com/android/launcher3/config/FeatureFlags.java @@ -140,6 +140,10 @@ public final class FeatureFlags { "ENABLE_DATABASE_RESTORE", true, "Enable database restore when new restore session is created"); + public static final TogglableFlag ENABLE_UNIVERSAL_SMARTSPACE = new TogglableFlag( + "ENABLE_UNIVERSAL_SMARTSPACE", false, + "Replace Smartspace with a version rendered by System UI."); + public static void initialize(Context context) { // Avoid the disk read for user builds if (Utilities.IS_DEBUG_DEVICE) {