diff options
author | Winson Chung <winsonc@google.com> | 2020-06-25 21:17:22 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-06-26 04:18:34 +0000 |
commit | 429f55ec56a19ea843c36d34e0e5b74d925cf352 (patch) | |
tree | 96bb48226b43cd91799e4563b71c602838423ab3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a750903b42c792105fc77ca004cbc7bc7e8f85dc (diff) |
Fix issue with invalid aspect ratio causing issues resizing
- If the app doesn't have an aspect ratio, we should use the default
aspect ratio otherwise we'll use 0 which generates a bunch of wrong
bounds
Change-Id: I2eb4114474cc1ab948a9142d67cbe04ad00d32aa
Bug: 159908926
Test: Enter pip from movies as the movie is loading (the aspect ratio
is not set up to that point)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions