mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Removing some obsolete features
PROMISE_APPS_NEW_INSTALLS = true ENABLE_QUICKSTEP_WIDGET_APP_START = true FOLDER_NAME_SUGGEST = true ENABLE_PREDICTION_DISMISS = true HOTSEAT_MIGRATE_TO_FOLDER = false ENABLE_DEEP_SHORTCUT_ICON_CACHE = true ENABLE_THEMED_ICONS = true ENABLE_ALL_APPS_EDU = true EXPANDED_SMARTSPACE = false Bug: 241141733 Test: Presubmit Change-Id: I72c0c20ab7e214994dc3c3665c90e85d45991a7a
This commit is contained in:
@@ -368,9 +368,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
|
||||
public void startEditingFolderName() {
|
||||
post(() -> {
|
||||
if (FeatureFlags.FOLDER_NAME_SUGGEST.get()) {
|
||||
showLabelSuggestions();
|
||||
}
|
||||
showLabelSuggestions();
|
||||
mFolderName.setHint("");
|
||||
mIsEditingName = true;
|
||||
});
|
||||
@@ -1080,8 +1078,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
if (!items.isEmpty()) {
|
||||
mLauncherDelegate.getModelWriter().moveItemsInDatabase(items, mInfo.id, 0);
|
||||
}
|
||||
if (FeatureFlags.FOLDER_NAME_SUGGEST.get() && !isBind
|
||||
&& total > 1 /* no need to update if there's one icon */) {
|
||||
if (!isBind && total > 1 /* no need to update if there's one icon */) {
|
||||
Executors.MODEL_EXECUTOR.post(() -> {
|
||||
FolderNameInfos nameInfos = new FolderNameInfos();
|
||||
FolderNameProvider fnp = FolderNameProvider.newInstance(getContext());
|
||||
|
||||
Reference in New Issue
Block a user