commit | 1e5c50bbe3fab2558e1dd8f6061be0c6ad1b8569 | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Tue Jun 29 15:48:11 2021 -0700 |
committer | Ady Abraham <adyabr@google.com> | Fri Jul 02 16:23:45 2021 -0700 |
tree | f2c47a4a01d9d7028fdfbdbe764b9dbe32648143 | |
parent | d003be936938a26283eeea0c50a38cad134e62bc [diff] |
RefreshRatePolicy: getPreferredRefreshRate should consider preferredRefreshRate If an app set the WindowManager.LayoutParams#preferredRefreshRate, refresh rate policy should return it the the preferred refresh rate of the window if all the other signals (preferredDisplayModeId or deny list) doesn't have a vote. Test: atest RefreshRatePolicyTest FrameRateSelectionPriorityTests Bug: 192413241 Change-Id: I55dc5c2acc8b66cfedbd0c0f0fb66c57eeaa36fe