Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32e8a96e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "allow smart folder to support more than 2 items" into ub-launcher3-master

parents 56c9c86f eacbdd3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -417,7 +417,8 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
     * Show suggested folder title.
     */
    public void showSuggestedTitle(String[] suggestName) {
        if (FeatureFlags.FOLDER_NAME_SUGGEST.get() && mInfo.contents.size() == 2) {
        if (FeatureFlags.FOLDER_NAME_SUGGEST.get()
                && TextUtils.isEmpty(mFolderName.getText().toString())) {
            if (suggestName.length > 0 && !TextUtils.isEmpty(suggestName[0])) {
                mFolderName.setHint(suggestName[0]);
                mFolderName.setText(suggestName[0]);