commit | 7f9985af96d2e54029c530aaaee1cd4289076008 | [log] [tgz] |
---|---|---|
author | Zak Cohen <zakcohen@google.com> | Wed Aug 28 16:27:16 2024 -0700 |
committer | Zak Cohen <zakcohen@google.com> | Wed Aug 28 16:33:03 2024 -0700 |
tree | 5d53037e37c057bb251a2de20edd94c83d9b29c7 | |
parent | d064e58ff09979c1c04cfac1dc5a8b77838b8172 [diff] |
FloatingWidgetView - avoid calling position callback when nothing changes. Previously, the position changed callback for the transition animation was called on every layout change, whether or not the position has changed. Now only call the callback and the layout changes if the targets don't match the current state. Bug: 327696338 Flag: EXEMPT bug fix Test: manual Change-Id: I3007a1c8d0a869866c66eb14d75f5b48d977f863