commit | 11663406f0e40d26e71d90f6a31ff75ed17a6638 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Nov 10 19:46:09 2021 -0800 |
committer | Ady Abraham <adyabr@google.com> | Mon Nov 15 11:37:29 2021 -0800 |
tree | 3383966d7de6260829a61ebef04dfb689a976897 | |
parent | fe34457d2e4644d47d1d8047894c7819d5cd34a5 [diff] |
SF: reset idle state when RefreshRateConfigs changes RefreshRateConfigs calls back into Scheduler for updating the idle timer. When RefreshRateConfigs changes as a result of the active display changed, we need to stop the idle timer on the old RefreshRateConfigs and reset Scheduler's state. Bug: 205664808 Test: manual using below steps 1. Boot device on unfold state 2. Fold device 3. Unfold device 4. Launch Chrome from taskbar Change-Id: I554fe2b2447c0ad662f06329ff74e0b9b3e999b3