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
Loading
Please register or sign in to comment