summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2020-07-01 20:33:27 -0400
committerEvan Laird <evanlaird@google.com>2020-07-01 20:33:27 -0400
commitc2bae89e368945aa89cec484bc45cc297699ba29 (patch)
tree7049eb59ada6ad9a41d01994572a23c3c2d05209 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2e53c54ab9522bf3cabab2780d5b4865aa687c14 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions