Fixed
Status Update
Comments
al...@google.com <al...@google.com>
se...@google.com <se...@google.com> #2
Thanks for the bug report, will try to get it into the next alpha release.
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit b87de5d5b7159d1d4ff4f81f362880e82e839ce3
Author: Sean McQuillan <seanmcq@google.com>
Date: Thu Jun 17 11:37:55 2021
Allow nullable KeyListener in AppCompatEditText
This reverses the non-null requirement added by Emoji2 integration.
Bug: b/189559345
Test: New unit tests
Relnote: "Allow null KeyListener in AppCompatEditText. This reverses the
non-null annotation that was added to AppCompatEditText in 1.4-alpha01
and restores the previous behavior when passed null."
Change-Id: I214824131c0206349b73471a8c22be38bf5dd0d8
M appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/AppCompatEditTextEmojiTest.java
M appcompat/appcompat/src/main/java/androidx/appcompat/widget/AppCompatEditText.java
M appcompat/appcompat/src/main/java/androidx/appcompat/widget/AppCompatEmojiEditTextHelper.java
M emoji2/emoji2-views-helper/api/current.txt
M emoji2/emoji2-views-helper/api/public_plus_experimental_current.txt
M emoji2/emoji2-views-helper/api/restricted_current.txt
M emoji2/emoji2-views-helper/src/androidTest/java/androidx/emoji2/viewsintegration/EmojiEditTextHelperTest.java
M emoji2/emoji2-views-helper/src/main/java/androidx/emoji2/viewsintegration/EmojiEditTextHelper.java
https://android-review.googlesource.com/1739499
Branch: androidx-main
commit b87de5d5b7159d1d4ff4f81f362880e82e839ce3
Author: Sean McQuillan <seanmcq@google.com>
Date: Thu Jun 17 11:37:55 2021
Allow nullable KeyListener in AppCompatEditText
This reverses the non-null requirement added by Emoji2 integration.
Bug:
Test: New unit tests
Relnote: "Allow null KeyListener in AppCompatEditText. This reverses the
non-null annotation that was added to AppCompatEditText in 1.4-alpha01
and restores the previous behavior when passed null."
Change-Id: I214824131c0206349b73471a8c22be38bf5dd0d8
M appcompat/appcompat/src/androidTest/java/androidx/appcompat/widget/AppCompatEditTextEmojiTest.java
M appcompat/appcompat/src/main/java/androidx/appcompat/widget/AppCompatEditText.java
M appcompat/appcompat/src/main/java/androidx/appcompat/widget/AppCompatEmojiEditTextHelper.java
M emoji2/emoji2-views-helper/api/current.txt
M emoji2/emoji2-views-helper/api/public_plus_experimental_current.txt
M emoji2/emoji2-views-helper/api/restricted_current.txt
M emoji2/emoji2-views-helper/src/androidTest/java/androidx/emoji2/viewsintegration/EmojiEditTextHelperTest.java
M emoji2/emoji2-views-helper/src/main/java/androidx/emoji2/viewsintegration/EmojiEditTextHelper.java
Description
Hello,
I updated this library
to this
And there is a bug that started to appear in my code. The bug is:
This is my code
The problematic line is textField.editText?.setKeyListener(null) but I do it on purpose since I read on the stackOverflow that keaybord wont' show up after clicking. I want to use it as a read only, and when clicked to open dialog with options to choose from, therefore no keyborad. The stack overflow =https://stackoverflow.com/questions/60710536/android-using-materialdatepicker-and-textinputlayout
So probably I'm not the only one using it this way.
My xml behind this code:
I believe it has something to do with some emoji or something, which I do not want to use.
Thank you