summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2021-09-09 17:10:52 +0000
committerFiona Campbell <flc@google.com>2021-09-09 17:10:52 +0000
commit489b25e7e94cd15ea1867ae73ba3bc75bce76428 (patch)
tree730a21a1c96ee5308929d8d3c30561d2ef5dd4e6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent20c69e39781105fc4cd943e10fbf3f505fc036b6 (diff)
Fix NPE when passing displayId through handler
NPE was thrown when calling getPendingFrameRateOverrideUids. This is because the LogicalDisplay array could change before the message is handled. This fix ensures that the logical display is valid before continuing with the method. Bug: 198359227 Bug: 198159201 Bug: 199027886 Test: Verify it doesn't crash Change-Id: I11adf67478d7a6f81512aa3cd4bc568056dfa80a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions