-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EditText Blink causes memory leak in AlertDialog and DialogFragment #297
Comments
Added pull request for ignore of this AOSP bug. |
@Yky you mean |
@hidroh Yes, I corrected my comment above. |
This leak is now confirmed by Google and has been fixed in Marshmallow. |
PR mentioned above: #298 |
ignore leakcanary issue #297; AOSP issue #188551
@pyricau I think this can be closed as the commit is included in 1.4-beta2 |
@Yky thanks! |
I am using 1.4-beta2, on 4.1.1 it says: "This can be fixed manually by calling setCursorEnabled(false) ..." while it should say setCursorVisible(false), right? |
Thx @knezmilos13 , fixed. |
ignore leakcanary issue square#297; AOSP issue #188551
Doc feedback from square#297
Sorry for reviving this from the death, but I figured that the exact same leak occurs also on a Samsung Device with 5.0.1 installed, but without the need of having a I tried the solution and called |
@realdeadfish I would try moving the |
I'm seeing this as well on a Samsung S7 with Android 7 running on it. LeakCanary says that a Thread is referencing |
@realdeadfish Did you fix that? |
Guys, the only solution that worked for me was to Override InputConnection to return null as suggested by @aslakjo in SO - https://stackoverflow.com/a/18697200 I cannot believe this issue is still not addressed in android. |
I'm using a Pixel 2, Android 10 and I ran into this ├─ android.net.ConnectivityThread |
See AOSP issue 188551: https://code.google.com/p/android/issues/detail?id=188551
Can be avoided by calling setCursorVisible(false) in the dismiss() method of the Dialog.
The text was updated successfully, but these errors were encountered: