summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.cpp
diff options
context:
space:
mode:
author Mykola Kondratenko <mykola.kondratenko@sonymobile.com> 2015-02-09 19:20:28 +0100
committer Henrik Baard <henrik.baard@sonymobile.com> 2015-07-08 06:26:41 +0000
commit5e18c40d28cba98607d34f50e972c4d977c3dd6c (patch)
treefd5e33634c4ffb1379d7e9ec88213d35cee37d67 /libs/hwui/GradientCache.cpp
parentaa87e89e81b547cc28e09a5f71adb288ee18b32a (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