| commit | b5a094b997f4db0b2f21ea6b2be6fa8bc6ba2f57 | [log] [tgz] |
|---|---|---|
| author | Dominik Laskowski <domlaskowski@google.com> | Thu Oct 27 12:00:12 2022 -0400 |
| committer | Dominik Laskowski <domlaskowski@google.com> | Wed Nov 02 13:05:03 2022 -0400 |
| tree | 60b3372f2e515333878ca16b27b4414a482c0eb1 | |
| parent | 3681e5a1cb88ea9762daedb4770c03b9858802f0 [diff] |
SF: Avoid registering DisplayDevice with Scheduler The Scheduler should only care about the RefreshRateSelector part, and should not needlessly extend the compositionengine::Display's lifetime until the DisplayDevice is unregistered. Make Scheduler::registerDisplay infallible, such that SurfaceFlinger:: processDisplayChanged does not need to unregister before registering. Bug: 241285191 Test: libsurfaceflinger_unittest Change-Id: I12b3855167e98f48ae368d39264edcb456efb293