commit | 6fe2c17ee04210489f6f561755021cbd59153176 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Fri Jul 12 12:37:57 2019 -0700 |
committer | Ady Abraham <adyabr@google.com> | Mon Jul 15 18:07:28 2019 -0700 |
tree | 59dca32dc67e8ff3319f7852c327bf8bf78fbc2a | |
parent | b9ce711f497151129477bff21b38a4367a0cfa3b [diff] |
SurfaceFlinger: add display power state timer Coming out of DOZE mode might result in unstable HWVsync which may confuse FPS detection logic to set the desired refresh rate. To mitigate that, this change introduces a new timer that will provide a grace period when coming out of DOZE while in this grace period refresh rate will stay in PERFORMANCE. Test: Toggle DOZE by hitting the power button and collect systrace Bug: 135550670 Change-Id: Ib8ec3c9550336d691dd3868405d20b98aa983302