commit | 8dd88f649b0cee33588a154a942195c0920d59a1 | [log] [tgz] |
---|---|---|
author | Matthew Bouyack <mbouyack@google.com> | Mon Oct 24 14:01:26 2016 -0700 |
committer | Matthew Bouyack <mbouyack@google.com> | Mon Oct 24 16:09:15 2016 -0700 |
tree | fd51f3ca651b31b8456ec72679afc91fa6736602 | |
parent | 593f9cdde081631edf57433c8372d03a2e688126 [diff] |
Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction. By eliminating calls to setMatrix, we avoid triggering redundant SurfaceFlinger invalidates. This is particularly noteworthy on Android Wear where we must update the minute hand every 60 seconds, but want the device to spend as much time sleeping as possible. See b/31489482 Change-Id: I424bb9f60c3033921fa04e7abcfc552500114f1f