Skip to content
Commit c2bae89e authored by Evan Laird's avatar Evan Laird
Browse files

Cache Display.Mode so we can ignore refresh rate changes

DisplayCutoutView calls #update() when `onDisplayChanged` is called, but
if that were to be called _only_ because the refresh rate changes, then
we redraw the displaycutoutview (with no meaningful changes) and this
causes the display to change refresh rate again, starting the loop over.

Fixes: 155155363
Test: manual
Change-Id: Ic885cf24a9f4cc45970a3388653789abb3f592bb
parent 2e53c54a
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