Commit 5a4fce8
Su Hong Koo
SF: Invoke DisplayDevice::animate*Overlay() on all displays
Right now HDR:SDR ratio and refresh rate overlays are only animated on
active displays. This CL splits animateOverlay() into two, one for each
of the overlay, and invokes it for for all physical and virtual
displays in SurfaceFlinger. The animate function call should check for
presence of the overlay so no pre-check is required.
Flag: EXEMPT trivial refactor
Bug: 255635821
Test: Tested on a foldable with hdr/sdr ratio using made you look
Change-Id: I68f76bcbaecd2f0a1b429160fb6c119a6738ed8f1 parent 8bdb01e commit 5a4fce8
File tree
3 files changed
+28
-16
lines changed- services/surfaceflinger
3 files changed
+28
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
492 | 496 | | |
493 | | - | |
| 497 | + | |
494 | 498 | | |
| 499 | + | |
495 | 500 | | |
496 | 501 | | |
497 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2778 | 2778 | | |
2779 | 2779 | | |
2780 | 2780 | | |
2781 | | - | |
| 2781 | + | |
2782 | 2782 | | |
2783 | | - | |
2784 | | - | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
2785 | 2791 | | |
2786 | 2792 | | |
2787 | 2793 | | |
| |||
0 commit comments