commit | 3a77a7b627de68a015f778bdefc783aec99ff660 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Dec 02 18:46:59 2019 -0800 |
committer | Ady Abraham <adyabr@google.com> | Tue Dec 10 13:15:24 2019 -0800 |
tree | ea6e3fc58580086980582c2665bf2bbfc4841811 | |
parent | e0f9edb41145333d2cac1b5fafa1a6f34b2a0a33 [diff] |
SurfaceFlinger: use setActiveConfigWithConstraints Remove setActiveConfig and use setActiveConfigWithConstraints instead. Use the return parameter of setActiveConfigWithConstraints to know whether a refresh is required and when. Fixes: 142753004 Bug: 141329414 Test: observe refresh rate switching thru systrace Change-Id: Ie67a3be9180e7a367fc9e73425598d53a5fd6578