Disable auto correct/suggest on folder edit text am: 9b98d13022

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12291900

Change-Id: I49ad0f2a9ef73bad1a5d7e0dc609abedcacab27c
This commit is contained in:
Hyunyoung Song
2020-08-05 20:25:52 +00:00
committed by Automerger Merge Worker
+2 -2
View File
@@ -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);