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

Commit 37bda2bc authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Disable auto correct/suggest on folder edit text

Bug: 160075575

TL;DR;; displayCompletions still work

Change-Id: I0a7cd06d25ae3976371be0707a2783702b92e8cc
parent 9d693700
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -241,9 +241,9 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
        mFolderName.setSelectAllOnFocus(true);
        mFolderName.setInputType(mFolderName.getInputType()
                & ~InputType.TYPE_TEXT_FLAG_AUTO_CORRECT
                & ~InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS
                | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS
                | InputType.TYPE_TEXT_FLAG_CAP_WORDS);
        mFolderName.forceDisableSuggestions(!FeatureFlags.FOLDER_NAME_SUGGEST.get());
        mFolderName.forceDisableSuggestions(true);

        mFooter = findViewById(R.id.folder_footer);