Skip to content
Commit 489b25e7 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

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
parent 20c69e39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment