summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Craig Mautner <cmautner@google.com> 2015-02-17 15:09:47 -0800
committer Craig Mautner <cmautner@google.com> 2015-02-17 15:09:47 -0800
commit1bef389f70de89d82189b94967eccee9b3b58d68 (patch)
treed77b3d69fda18133e7432e0f87b3c38e5ceedf92 /libs/hwui/ProgramCache.cpp
parent8de8627657b0e5b5028c544f1e444f8b1aadfe11 (diff)
Fix NPE in DisplayContent.setTouchExcludeRegion.
DisplayContent.mTapDetector is null for any non-default display. When testing ActivityView DisplayContent.setTouchExcludeRegion() throws an NPE when dereferencing mTapDetector. This change adds a null test to avoid the NPE. Fixes bug 19413700. Change-Id: I48a66c0ed071c87b38b354eead58a4de97fb47b9
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions