commit | 489b25e7e94cd15ea1867ae73ba3bc75bce76428 | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Thu Sep 09 17:10:52 2021 +0000 |
committer | Fiona Campbell <flc@google.com> | Thu Sep 09 17:10:52 2021 +0000 |
tree | 730a21a1c96ee5308929d8d3c30561d2ef5dd4e6 | |
parent | 20c69e39781105fc4cd943e10fbf3f505fc036b6 [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