commit | c58708a68394f3da08faea16dc50a4002ae53b60 | [log] [tgz] |
---|---|---|
author | Shane <shanewong@google.com> | Wed Apr 03 22:40:40 2024 +0000 |
committer | George Mount <mount@google.com> | Thu Apr 11 08:59:52 2024 -0700 |
tree | 7019e2908d3826db5bd70c73cf8b92e81d265818 | |
parent | ecad616a5da71b0c69a5b734e6aa26fbc9fe15b9 [diff] |
Reduce the votePreferredFrameRate calls votePreferredFrameRate() is now called during updateDisplayListIfDirty() so that it is only called once for each View at most. Fixes: 332622024 Fixes: 333193682 Test: atest ViewRootImplTest / ViewFrameRateTest / ViewTest Change-Id: I32a97d55a03b15b4f899ff0ea52dd0b80766eed1