Loading src/com/android/launcher3/folder/Folder.java +1 −1 Original line number Diff line number Diff line Loading @@ -487,9 +487,9 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo nameInfos[0].getLabel()) || nameInfos.length > 1 && nameInfos[1] != null && !isEmpty( nameInfos[1].getLabel()); CharSequence firstLabel = nameInfos[0].getLabel(); if (shouldOpen) { CharSequence firstLabel = nameInfos[0] == null ? "" : nameInfos[0].getLabel(); if (!isEmpty(firstLabel)) { mFolderName.setHint(""); mFolderName.setText(firstLabel); Loading src/com/android/launcher3/folder/FolderNameInfo.java +6 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,10 @@ public final class FolderNameInfo implements Parcelable { public int describeContents() { return 0; } @Override @NonNull public String toString() { return mLabel.toString() + ":" + mScore; } } Loading
src/com/android/launcher3/folder/Folder.java +1 −1 Original line number Diff line number Diff line Loading @@ -487,9 +487,9 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo nameInfos[0].getLabel()) || nameInfos.length > 1 && nameInfos[1] != null && !isEmpty( nameInfos[1].getLabel()); CharSequence firstLabel = nameInfos[0].getLabel(); if (shouldOpen) { CharSequence firstLabel = nameInfos[0] == null ? "" : nameInfos[0].getLabel(); if (!isEmpty(firstLabel)) { mFolderName.setHint(""); mFolderName.setText(firstLabel); Loading
src/com/android/launcher3/folder/FolderNameInfo.java +6 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,10 @@ public final class FolderNameInfo implements Parcelable { public int describeContents() { return 0; } @Override @NonNull public String toString() { return mLabel.toString() + ":" + mScore; } }