解决SpellCheckerSession泄漏? [英] Work around SpellCheckerSession leak?

查看:869
本文介绍了解决SpellCheckerSession泄漏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现我的活动泄漏的ICS模拟器。 HPROF似乎表明 SpellCheckerSession 保存四周,似乎已经修复一提到我的活动:

I discovered my Activity is leaking on the ICS emulator. HProf seemed to show SpellCheckerSession keeping a reference to my Activity around, and there appears to have been a fix:

<一个href=\"https://github.com/android/platform_frameworks_base/commit/df3722895172e03c81787f62d922daabaad3e20b\" rel=\"nofollow\">https://github.com/android/platform_frameworks_base/commit/df3722895172e03c81787f62d922daabaad3e20b

但有什么办法可以解决这个的平均时间?我可以禁用拼写检查不知何故?

But is there any way to work around this in the mean time? Can I disable spell checking somehow?

推荐答案

我发现了同样的问题。解决方法是禁用拼写检查所有的EditText领域。

I've found the same issue. The workaround was to disable spell checking for all EditText fields.

在这里看到我的回应:<一href=\"http://stackoverflow.com/questions/8497965/why-does-editview-retain-its-activitys-context-in-ice-cream-sandwich/15190491#15190491\">Why不EditView中保留其活性的语境冰淇淋三明治

See my response here: Why does EditView retain its Activity's Context in Ice Cream Sandwich

这篇关于解决SpellCheckerSession泄漏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆