summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2015-02-17 15:09:47 -0800
committerCraig Mautner <cmautner@google.com>2015-02-17 15:09:47 -0800
commit1bef389f70de89d82189b94967eccee9b3b58d68 (patch)
treed77b3d69fda18133e7432e0f87b3c38e5ceedf92 /tools/aapt2/java/JavaClassGenerator_test.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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions