diff options
| author | 2022-09-30 13:38:11 +0000 | |
|---|---|---|
| committer | 2022-10-05 15:48:29 +0000 | |
| commit | 3d676a2684ff69b3e40e0ed1dffbe3adaf9b564f (patch) | |
| tree | 927495b782d73e2c0229049897160ac20c5668c2 /libs/hwui/HardwareBitmapUploader.cpp | |
| 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
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions