diff options
| author | 2015-02-09 19:20:28 +0100 | |
|---|---|---|
| committer | 2015-07-08 06:26:41 +0000 | |
| commit | 5e18c40d28cba98607d34f50e972c4d977c3dd6c (patch) | |
| tree | fd5e33634c4ffb1379d7e9ec88213d35cee37d67 /libs/hwui/GradientCache.cpp | |
| parent | aa87e89e81b547cc28e09a5f71adb288ee18b32a (diff) | |
Reset the setOnKeyListener callback when view is destroyed
NPE happened in mListOnKeyListener.onKey().
It looks like onKey in some cases is sent to a view while beeing
destroyed. When callback is received mList is referenced causing
the NPE.
Remove OnKeyListener first when destroying view so we can not get
any unwanted key callbacks.
Bug: 22333421
Change-Id: I94b198e31a2f9fbdd7fbadf4971be7720dcfad8d
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
0 files changed, 0 insertions, 0 deletions