Fix smartspace long press

This commit is contained in:
Suphon Thanakornpakapong committed 2022-05-14 16:28:30 +07:00
1 parent ed694a1248
commit 784fa2f9d0
4 files changed
+38 -15

No files matched your search

-4
View File
@@ -131,7 +131,6 @@ import java.util.function.Predicate;
import java.util.stream.Collectors;
import app.lawnchair.smartspace.SmartspaceAppWidgetProvider;
import app.lawnchair.smartspace.SmartspaceViewContainer;
/**
* The workspace is a wide area with a wallpaper and a finite number of pages.
@@ -586,9 +585,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
// edges, we do not need a full width QSB.
mQsb = LayoutInflater.from(getContext())
.inflate(R.layout.search_container_workspace, firstPage, false);
if (mQsb instanceof SmartspaceViewContainer) {
((SmartspaceViewContainer) mQsb).setupInWorkspace();
}
}
int cellVSpan = FeatureFlags.EXPANDED_SMARTSPACE.get()