commit | d313ee0c3597d7ee4e3e773c491d57047bdf7e93 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Tue Oct 24 21:50:22 2023 -0700 |
committer | Tracy Zhou <tracyzhou@google.com> | Tue Oct 24 21:50:22 2023 -0700 |
tree | 4163de0815c7379c8983f39f64cb045007d7b5e6 | |
parent | fbc8b715c335710fce658e78337ee931a7bdee97 [diff] |
Do not animate icon alignment in phone mode With the existing code, there is a rare case that mIconAlignControllerLazy is set from unfolded state, and then go to small screen, and we will reuse mIconAlignControllerLazy to animate, only to find out that scaleX for the icon view is infinity. Instead, we should unset mIconAlignControllerLazy in phone mode. Fixes: 274517647 Test: manual Change-Id: I3200761e5f4c6df0d89744f22e38bfe7fc7846cc