commit | f8e689cfd25f27c4af36a27e145d4cac1d0bb9cb | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Mon May 20 18:32:22 2019 -0700 |
committer | Alec Mouri <alecmouri@google.com> | Thu May 23 22:24:25 2019 +0000 |
tree | 22ac59f1ad15a20fc545cf56c0c927e2af889f22 | |
parent | d86104353062d88656bf34fd88870f60a929ed66 [diff] |
[SurfaceFlinger] fix permanently enabling early offsets. * Add notion of intended period in DispSync, and use that to detect whether the simulated period will be changed. * Propagate that signal to setDesiredActiveConfig, so that we don't fall into early offsets unnecessarily, which can cause early offsets to always be enabled. Bug: 132678707 Test: systrace Test: swappy test app Test: scrolling through google news Change-Id: I18df1b9d949cd534ecbf1c8891b6f88eab8be399