commit | 3d676a2684ff69b3e40e0ed1dffbe3adaf9b564f | [log] [tgz] |
---|---|---|
author | Ioana Alexandru <aioana@google.com> | Fri Sep 30 13:38:11 2022 +0000 |
committer | Ioana Alexandru <aioana@google.com> | Wed Oct 05 15:48:29 2022 +0000 |
tree | 927495b782d73e2c0229049897160ac20c5668c2 | |
parent | 580e951458f21438580a53b14a9bdf6c2e683eb8 [diff] |
Avoid dividing 0 by 0 in StackScrollAlgorithm. This is very likely the cause of b/233692725 (which is essentially an error saying that translationZ is set to Float.NaN). Looked through all the codepaths modifying translationZ, and this was the only one I could find that could generate NaN. Test: Not quite sure how to test it though, since I can't reproduce. Will add some logging in a follow-up commit. Bug: 233692725 Change-Id: Ie5db92ee714b2265ceacc366144bdadad00aaf51